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

[H7] Enable SDCard/SDIO using HAL driver

This commit is contained in:
jflyper 2019-05-09 21:01:59 +09:00
parent 1cbff2b9aa
commit ffb9497d8a
8 changed files with 574 additions and 70 deletions

View file

@ -501,6 +501,11 @@ void init(void)
updateHardwareRevision();
#endif
#if defined(STM32H7) && defined(USE_SDCARD_SDIO) // H7 only for now, likely should be applied to F4/F7 too
void SDIO_GPIO_Init(void);
SDIO_GPIO_Init();
#endif
#ifdef USE_VTX_RTC6705
bool useRTC6705 = rtc6705IOInit(vtxIOConfig());
#endif