mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
OP-874 Added visual (heartbeat led flashing) indication of flash format being performed.
+review OPReview-421
This commit is contained in:
parent
3f88a64cf3
commit
4077dfde56
@ -193,6 +193,7 @@ static int32_t logfs_erase_all_arenas()
|
||||
uint16_t num_arenas = logfs.cfg->total_fs_size / logfs.cfg->arena_size;
|
||||
|
||||
for (uint16_t arena = 0; arena < num_arenas; arena++) {
|
||||
PIOS_LED_Toggle(PIOS_LED_HEARTBEAT);
|
||||
if (logfs_erase_arena(arena) != 0)
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user