1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Fixed sdcard issues

Reset CPU clock to 168mhz (no overclocking)
This commit is contained in:
blckmn 2016-06-10 22:44:24 +10:00
parent c3e4eefcfc
commit 9b3e8ab01c
4 changed files with 34 additions and 23 deletions

View file

@ -377,9 +377,13 @@ void init(void)
#endif
#ifdef USE_SPI
#ifdef USE_SPI_DEVICE_1
spiInit(SPIDEV_1);
#endif
#ifdef USE_SPI_DEVICE_2
spiInit(SPIDEV_2);
#ifdef STM32F303xC
#endif
#ifdef USE_SPI_DEVICE_3
#ifdef ALIENFLIGHTF3
if (hardwareRevision == AFF3_REV_2) {
spiInit(SPIDEV_3);