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:
parent
c3e4eefcfc
commit
9b3e8ab01c
4 changed files with 34 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue