mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
commit
70215cc758
2 changed files with 1 additions and 2 deletions
|
@ -2259,7 +2259,6 @@ static void cliFlashErase(char *cmdline)
|
|||
|
||||
bufWriterFlush(cliWriter);
|
||||
flashfsEraseCompletely();
|
||||
flashfsInit();
|
||||
|
||||
while (!flashfsIsReady()) {
|
||||
#ifndef MINIMAL_CLI
|
||||
|
|
|
@ -2344,7 +2344,7 @@ static mspResult_e mspProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
#ifdef USE_FLASHFS
|
||||
case MSP_DATAFLASH_ERASE:
|
||||
flashfsEraseCompletely();
|
||||
flashfsInit();
|
||||
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue