1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00

Fixed up reference in the driver layer.

This commit is contained in:
mikeller 2019-02-03 10:11:47 +13:00
parent d833a51317
commit 210e90249e
5 changed files with 26 additions and 6 deletions

View file

@ -422,7 +422,11 @@ void init(void)
#ifdef USE_SPI
spiPinConfigure(spiPinConfig(0));
#endif
sensorsPreInit();
#ifdef USE_SPI
spiPreinit();
#ifdef USE_SPI_DEVICE_1