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

[H7] Enable SPI with resurrected HAL-based driver from v3.1.7

This commit is contained in:
jflyper 2019-04-21 18:24:25 +09:00
parent 77ef37bad0
commit 82c978a828
7 changed files with 434 additions and 11 deletions

View file

@ -460,6 +460,12 @@ void init(void)
#ifdef USE_SPI_DEVICE_4
spiInit(SPIDEV_4);
#endif
#ifdef USE_SPI_DEVICE_5
spiInit(SPIDEV_5);
#endif
#ifdef USE_SPI_DEVICE_6
spiInit(SPIDEV_6);
#endif
#endif // USE_SPI
#ifdef USE_USB_MSC