[FLASH] Allow flash initialisation without flashfs support. (#8238)

[FLASH] Allow flash initialisation without flashfs support.
This commit is contained in:
Michael Keller 2019-05-11 23:42:21 +12:00 committed by GitHub
commit a8e9dd94e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -715,12 +715,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