From b5471af1ac108849cf4d08f4fc87be1ef80085e6 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sat, 11 May 2019 23:42:21 +1200 Subject: [PATCH] [FLASH] Allow flash initialisation without flashfs support. (#8238) [FLASH] Allow flash initialisation without flashfs support. --- src/main/fc/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/fc/init.c b/src/main/fc/init.c index 156560d173..189119fc88 100644 --- a/src/main/fc/init.c +++ b/src/main/fc/init.c @@ -710,12 +710,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