]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Correct the spiId for the Coral Board
authorLuke Berndt <lberndt@iqt.org>
Thu, 11 Jun 2020 19:58:40 +0000 (15:58 -0400)
committerLuke Berndt <lberndt@iqt.org>
Thu, 11 Jun 2020 19:58:40 +0000 (15:58 -0400)
The spiId used for the Coral board changed with Day release of Mendel

src/adafruit_blinka/microcontroller/nxp_imx8m/pin.py

index 2771a224720368e4526ad13fc919de48c612780e..0d364e471dee0f9fe746a70be24b8f55f954534a 100644 (file)
@@ -31,7 +31,7 @@ i2cPorts = (
     (2, I2C3_SCL, I2C3_SDA),
 )
 # ordered as spiId, sckId, mosiId, misoId
-spiPorts = ((32766, ECSPI1_SCLK, ECSPI1_MOSI, ECSPI1_MISO),)
+spiPorts = ((0, ECSPI1_SCLK, ECSPI1_MOSI, ECSPI1_MISO),)
 # SysFS pwm outputs, pwm channel and pin in first tuple
 pwmOuts = (
     ((0, 0), PWM1),