mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting.
This commit is contained in:
parent
96793c43c7
commit
a17bbe2dfd
@ -115,7 +115,7 @@ void AP_SmartAudio::loop()
|
||||
}
|
||||
|
||||
// nothing going on so give CPU to someone else
|
||||
if (!_is_waiting_response && !_initialised) {
|
||||
if (!_is_waiting_response || !_initialised) {
|
||||
hal.scheduler->delay(100);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user