1
0
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:
Alessio Morale 2013-04-18 00:47:14 +02:00
parent 3f88a64cf3
commit 4077dfde56

View File

@ -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;
}