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:
parent
cfcd528a87
commit
3b8ce12ffe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue