mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
[FLASHFS] Reinitialise flashFs after erasing flash chip. (#8237)
[FLASHFS] Reinitialise flashFs after erasing flash chip.
This commit is contained in:
commit
31a059d4d5
2 changed files with 2 additions and 0 deletions
|
@ -2239,6 +2239,7 @@ static void cliFlashErase(char *cmdline)
|
|||
|
||||
bufWriterFlush(cliWriter);
|
||||
flashfsEraseCompletely();
|
||||
flashfsInit();
|
||||
|
||||
while (!flashfsIsReady()) {
|
||||
#ifndef MINIMAL_CLI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue