mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Add flash ready state to MSP response, add flash async block write
This commit is contained in:
parent
5651e65a0b
commit
80ea5e4419
6 changed files with 65 additions and 36 deletions
|
@ -775,7 +775,7 @@ static void cliFlashWrite(char *cmdline)
|
|||
printf("Missing text to write.\r\n");
|
||||
} else {
|
||||
flashfsSeekAbs(address);
|
||||
flashfsWrite((uint8_t*)text, strlen(text));
|
||||
flashfsWrite((uint8_t*)text, strlen(text), true);
|
||||
flashfsFlushSync();
|
||||
|
||||
printf("Wrote %u bytes at %u.\r\n", strlen(text), address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue