1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Allow flash initialisation without flashfs support.

There are reasons to enable flash hardware support other than just
flashfs.  e.g. config storage, debugging, etc.
This commit is contained in:
Dominic Clifton 2018-11-23 11:31:44 +01:00 committed by jflyper
parent cfcd528a87
commit 3b8ce12ffe

View file

@ -693,12 +693,12 @@ void init(void)
}
#endif
#ifdef USE_FLASHFS
#if defined(USE_FLASH_CHIP)
#ifdef USE_FLASH_CHIP
flashInit(flashConfig());
#endif
#ifdef USE_FLASHFS
flashfsInit();
#endif
#endif
#ifdef USE_BLACKBOX
#ifdef USE_SDCARD