mirror of https://github.com/ArduPilot/ardupilot
Plane: avoid delay_microseconds() until fixed on PX4
This commit is contained in:
parent
6304be1f5a
commit
2bb497703c
|
@ -784,7 +784,7 @@ void loop()
|
||||||
// call until scheduler.tick() is called again
|
// call until scheduler.tick() is called again
|
||||||
scheduler.run(19000U);
|
scheduler.run(19000U);
|
||||||
} else {
|
} else {
|
||||||
hal.scheduler->delay_microseconds(500);
|
hal.scheduler->delay(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue