AP_HAL_ChibiOS: tune delay for flashing bootloader

As the function can internally loop for 10 seconds
This commit is contained in:
Jaaaky 2019-04-30 21:40:37 +03:00 committed by Andrew Tridgell
parent 47c65314fb
commit 464540ab56

View File

@ -230,7 +230,7 @@ bool Util::flash_bootloader()
uint32_t fw_size;
const char *fw_name = "bootloader.bin";
hal.scheduler->expect_delay_ms(5000);
hal.scheduler->expect_delay_ms(11000);
uint8_t *fw = AP_ROMFS::find_decompress(fw_name, fw_size);
if (!fw) {