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:
parent
cfcd528a87
commit
3b8ce12ffe
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue