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
|
// wait for the chip to be ready for the next instruction
|
||||||
void AP_FlashIface_JEDEC::wait_ready()
|
void AP_FlashIface_JEDEC::wait_ready()
|
||||||
{
|
{
|
||||||
while (is_device_busy()) {
|
while (is_device_busy()) {}
|
||||||
DELAY_MICROS(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user