mirror of https://github.com/ArduPilot/ardupilot
AP_FlashIface: remove any delay from is device busy
This commit is contained in:
parent
be28a55364
commit
babcb31c1a
|
@ -897,9 +897,7 @@ bool AP_FlashIface_JEDEC::is_device_busy()
|
|||
// wait for the chip to be ready for the next instruction
|
||||
void AP_FlashIface_JEDEC::wait_ready()
|
||||
{
|
||||
while (is_device_busy()) {
|
||||
DELAY_MICROS(1);
|
||||
}
|
||||
while (is_device_busy()) {}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue