AP_FlashIface: remove any delay from is device busy

This commit is contained in:
Siddharth Purohit 2021-06-14 23:27:37 +05:30 committed by Andrew Tridgell
parent be28a55364
commit babcb31c1a
1 changed files with 1 additions and 3 deletions

View File

@ -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()) {}
}