Skip to content

Commit e9f50bc

Browse files
renamed digital interfaces pins for JH7110
1 parent 682722a commit e9f50bc

File tree

1 file changed

+3
-3
lines changed
  • src/adafruit_blinka/microcontroller/starfive/JH7110

1 file changed

+3
-3
lines changed

src/adafruit_blinka/microcontroller/starfive/JH7110/pin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def value(self, val=None):
9797
D38 = Pin(38)
9898
D40 = Pin(40)
9999
# I2C
100-
SDA = D3
101-
SCL = D5
100+
I2C_SDA = D3
101+
I2C_SCL = D5
102102

103103
# SPI
104104
SPI_MISO = D21
@@ -110,7 +110,7 @@ def value(self, val=None):
110110
UART_RX = D10
111111

112112
# ordered as i2cId, SCL, SDA
113-
i2cPorts = ((0, SCL, SDA),)
113+
i2cPorts = ((0, I2C_SCL, I2C_SDA),)
114114

115115
# ordered as spiId, sckId, mosiId, misoId
116116
spiPorts = ((0, SPI_SCLK, SPI_MOSI, SPI_MISO),)

0 commit comments

Comments
 (0)