]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Merge pull request #107 from pdp7/issue106
authorLimor "Ladyada" Fried <limor@ladyada.net>
Sun, 14 Apr 2019 16:48:34 +0000 (12:48 -0400)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2019 16:48:34 +0000 (12:48 -0400)
change SPI index for BeagleBone/PocketBeagle #106

src/adafruit_blinka/microcontroller/am335x/pin.py

index f8c1649b115c08fe1dc767e6acd3fdefd42c0d78..e73457d6d529fff5f10484a1251eef5c6b90b52e 100644 (file)
@@ -325,8 +325,8 @@ UART5_CTSn = Pin('UART5_CTSn')
 
 # ordered as spiId, sckId, mosiId, misoId
 spiPorts = (
-    (0, SPI0_SCLK, SPI0_D1, SPI0_D0),
-    (1, SPI1_SCLK, SPI1_D1, SPI1_D0),
+    (1, SPI0_SCLK, SPI0_D1, SPI0_D0),
+    (2, SPI1_SCLK, SPI1_D1, SPI1_D0),
 )
 
 # ordered as uartId, txId, rxId