mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Change the constant so LED flashing works properly on Revo
This commit is contained in:
parent
8ac31808b9
commit
61c1771862
@ -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…
x
Reference in New Issue
Block a user