mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
Change the constant so LED flashing works properly on Revo
This commit is contained in:
parent
221ae05ef6
commit
f02aacfeb6
@ -333,8 +333,11 @@ int32_t PIOS_Flash_Jedec_EraseChip()
|
||||
while(PIOS_Flash_Jedec_Busy() != 0) {
|
||||
#if defined(FLASH_FREERTOS)
|
||||
vTaskDelay(1);
|
||||
#endif
|
||||
if ((i++) % 100 == 0)
|
||||
#else
|
||||
if ((i++) % 10000 == 0)
|
||||
#endif
|
||||
|
||||
PIOS_LED_Toggle(PIOS_LED_HEARTBEAT);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user