1
0
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:
James Cotton 2012-07-28 11:22:24 -05:00
parent 221ae05ef6
commit f02aacfeb6

View File

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