Move I2C pins definition so that A4 and A5 are defined before using them

pull/7896/head
alrodlim 2018-09-24 09:46:11 -05:00
parent 90689c3191
commit 7d9263d2ef
1 changed files with 3 additions and 3 deletions

View File

@ -196,9 +196,6 @@ typedef enum {
D14 = GPIO_AD_B0_01,
D15 = GPIO_AD_B0_00,
I2C_SCL = A5,
I2C_SDA = A4,
A0 = GPIO_AD_B1_10,
A1 = GPIO_AD_B1_11,
A2 = GPIO_AD_B1_04,
@ -206,6 +203,9 @@ typedef enum {
A4 = GPIO_AD_B1_01,
A5 = GPIO_AD_B1_00,
I2C_SCL = A5,
I2C_SDA = A4,
// Not connected
NC = (int)0xFFFFFFFF
} PinName;