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

Add flash partitioning system

This commit is contained in:
Dominic Clifton 2019-05-11 01:21:13 +09:00 committed by jflyper
parent ba047e0559
commit 92999681e3
9 changed files with 215 additions and 56 deletions

View file

@ -716,11 +716,9 @@ void init(void)
#endif
#ifdef USE_FLASH_CHIP
bool haveFlash = flashInit(flashConfig());
flashInit(flashConfig());
#ifdef USE_FLASHFS
if (haveFlash) {
flashfsInit();
}
flashfsInit();
#endif
#endif