mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
AP_FlashIface: remove any delay from is device busy
This commit is contained in:
committed by
Andrew Tridgell
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()) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user