Skip to content

Commit

Permalink
Run pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzer58 committed Sep 23, 2023
1 parent 8f9a43c commit 5436e48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/adafruit_blinka/microcontroller/allwinner/a20/pin.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

# A10/A20 has a touch panel controller which can be configured to operate
# as four seperate adc chanels, providing 12-bit resolution.
XP_TP = 1
XP_TP = 1
XN_TP = 2
YP_TP = 3
YN_TP = 4
Expand All @@ -146,8 +146,9 @@
)

# ordered as spiId, sckId, mosiId, misoId
spiPorts = ((0, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),
(2, SPI2_SCLK, SPI2_MOSI, SPI2_MISO),
spiPorts = (
(0, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),
(2, SPI2_SCLK, SPI2_MOSI, SPI2_MISO),
)

# ordered as uartId, txId, rxId
Expand Down

0 comments on commit 5436e48

Please sign in to comment.