From: Martin Erzberger Date: Mon, 6 Jun 2022 07:36:43 +0000 (+0200) Subject: Fix Raspberry Pi SPI bus 1 not working X-Git-Tag: 8.0.1^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/dda3d96e6a9ccacb11ef151f0bc9e0e07bffe858?ds=inline Fix Raspberry Pi SPI bus 1 not working --- diff --git a/src/adafruit_blinka/microcontroller/bcm2711/pin.py b/src/adafruit_blinka/microcontroller/bcm2711/pin.py index 91b4030..ffc508b 100644 --- a/src/adafruit_blinka/microcontroller/bcm2711/pin.py +++ b/src/adafruit_blinka/microcontroller/bcm2711/pin.py @@ -82,7 +82,7 @@ D45 = Pin(45) # ordered as spiId, sckId, mosiId, misoId spiPorts = ( (0, SCLK, MOSI, MISO), - (6, SCLK_1, MOSI_1, MISO_1), + (1, SCLK_1, MOSI_1, MISO_1), (2, SCLK_2, MOSI_2, MISO_2), (3, D3, D2, D1), (4, D7, D6, D5),