1
0
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:
James Cotton 2011-06-18 14:32:09 -05:00
parent 2218ff6fe9
commit 724016ffb0

View File

@ -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 */