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:
parent
4357ca3656
commit
67bb6f88b7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue