]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Add files via upload
authortwa127 <46624596+twa127@users.noreply.github.com>
Mon, 10 May 2021 19:06:37 +0000 (20:06 +0100)
committerGitHub <noreply@github.com>
Mon, 10 May 2021 19:06:37 +0000 (20:06 +0100)
src/adafruit_blinka/microcontroller/rockchip/rk3328/pin.py

index f9a5427c3cabb5b5205f5c7aba40f093a2d17111..a403017e3c6ffae31ad9a40b8400bcda0b6e7e71 100644 (file)
@@ -154,12 +154,10 @@ UART2_RX = GPIO2_A1
 PWM2 = GPIO2_A6
 
 # ordered as i2cId, SCL, SDA
-i2cPorts = (
-    (0, I2C1_SCL, I2C1_SDA),)
+i2cPorts = ((0, I2C1_SCL, I2C1_SDA),)
 
 # ordered as spiId, sckId, mosiId, misoId
 spiPorts = ((0, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),)
 
 # SysFS pwm outputs, pwm channel and pin in first tuple
-pwmOuts = (
-    ((2, 0), PWM0),)
+pwmOuts = (((2, 0), PWM0),)