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:
parent
ba047e0559
commit
92999681e3
9 changed files with 215 additions and 56 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue