1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

FIX: Adding init for SPIDEV_0 (#14134)

This commit is contained in:
Jay Blackman 2025-01-08 10:25:34 +11:00 committed by GitHub
parent 4357ca3656
commit 67bb6f88b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,6 +211,9 @@ static void configureSPIBusses(void)
#ifdef USE_SPI
spiPreinit();
#ifdef USE_SPI_DEVICE_0
spiInit(SPIDEV_0);
#endif
#ifdef USE_SPI_DEVICE_1
spiInit(SPIDEV_1);
#endif