diff --git a/libraries/AP_HAL_Linux/Scheduler.cpp b/libraries/AP_HAL_Linux/Scheduler.cpp index e486104a3f..d0d1760d15 100644 --- a/libraries/AP_HAL_Linux/Scheduler.cpp +++ b/libraries/AP_HAL_Linux/Scheduler.cpp @@ -190,7 +190,7 @@ void LinuxScheduler::suspend_timer_procs() { _timer_suspended = true; while (_in_timer_proc) { - usleep(1); + delay_microseconds(20); } }