mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
When erasing flash at the end start flashing LED to indicate it is done
This commit is contained in:
parent
2218ff6fe9
commit
724016ffb0
@ -92,7 +92,10 @@ void OpenPilotInit()
|
||||
|
||||
#ifdef ERASE_FLASH
|
||||
PIOS_Flash_W25X_EraseChip();
|
||||
while(TRUE){};
|
||||
while(TRUE){
|
||||
PIOS_LED_Toggle(LED1);
|
||||
PIOS_DELAY_WaitmS(50);
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Initialize modules */
|
||||
|
Loading…
x
Reference in New Issue
Block a user