From: kent Date: Sat, 15 Aug 2020 21:13:25 +0000 (-0700) Subject: reformatted with black X-Git-Tag: 5.3.0^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/f783eaa220b9078f77eb9cff9e955fde28c59a94?ds=inline reformatted with black --- diff --git a/src/adafruit_blinka/board/udoo_x86ultra.py b/src/adafruit_blinka/board/udoo_x86ultra.py index b25c92b..744d774 100644 --- a/src/adafruit_blinka/board/udoo_x86ultra.py +++ b/src/adafruit_blinka/board/udoo_x86ultra.py @@ -63,8 +63,8 @@ UART1_TX = D18 UART2_RX = D23 UART2_TX = D22 -I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0 -I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0 +I2C0_SCL = D34 # labeled on diagram as I2C1, hardware manual port 0 +I2C0_SDA = D35 # i2cdetect-l lists it as i2c-0 -I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5 -I2C1_SCL = D39 # i2cdetect lists it as i2c-1 +I2C1_SCL = D38 # Labeled on diagram as I2C2, hardware manual port 5 +I2C1_SCL = D39 # i2cdetect lists it as i2c-1 diff --git a/src/adafruit_blinka/microcontroller/pentium/n3710/pin.py b/src/adafruit_blinka/microcontroller/pentium/n3710/pin.py index 45ce0e7..3093a20 100644 --- a/src/adafruit_blinka/microcontroller/pentium/n3710/pin.py +++ b/src/adafruit_blinka/microcontroller/pentium/n3710/pin.py @@ -70,7 +70,7 @@ GPIO_436 = UART2_CTS # i2c use these addresses when accessing i2c from Blinka. You can also access # the i2c useing smbus -I2C0_SDA = Pin((0, 61)) # IC21 on diagram, port 0 in hardware manual +I2C0_SDA = Pin((0, 61)) # IC21 on diagram, port 0 in hardware manual I2C0_SCL = Pin((0, 65)) I2C1_SDA = TS_I2C_SDA = Pin((0, 45)) # I2C2 on diagram, port 5 in hardware manual @@ -83,5 +83,4 @@ GPIO_475 = I2C0_SDA # I2C1 on diagram GPIO_479 = I2C0_SCL # ordered as i2cId, sclId, sdaId -i2cPorts = ((0, I2C0_SCL, I2C0_SDA), - (1, I2C1_SCL, I2C1_SDA)) +i2cPorts = ((0, I2C0_SCL, I2C0_SDA), (1, I2C1_SCL, I2C1_SDA))