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

[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

View file

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