]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Update pin.py
authorlandall <landall@users.noreply.github.com>
Tue, 22 Oct 2024 07:21:10 +0000 (15:21 +0800)
committerlandall <landall@users.noreply.github.com>
Tue, 22 Oct 2024 07:21:10 +0000 (15:21 +0800)
stored the wrongly commented lines to define 2 I2C port with the same channel id.

src/adafruit_blinka/microcontroller/rockchip/rk3566/pin.py

index e95f390e7cc067397ae10f456d1295582ad97d6b..bfb3013890ad73c099584e637fcff973da2a47ae 100644 (file)
@@ -178,7 +178,7 @@ PWM1 = GPIO0_C7
 # ordered as i2cId, SCL, SDA
 i2cPorts = [
     (1, I2C1_SCL, I2C1_SDA),
-    (2, I2C2_SCL_M0, I2C2_SDA_M0),
+    (2, I2C2_SCL_M0, I2C2_SDA_M0),
     (2, I2C2_SCL_M1, I2C2_SDA_M1),
     (3, I2C3_SCL_M0, I2C3_SDA_M0),
     (4, I2C4_SCL_M0, I2C4_SDA_M0),