mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:08:53 +08:00
committed by
Lorenz Meier
parent
2a26611cf5
commit
d16daf5ba4
@@ -414,7 +414,10 @@ PWMSim::task_main()
|
||||
_current_update_rate = _update_rate;
|
||||
}
|
||||
|
||||
/* this can happen during boot, but after the sleep its likely resolved */
|
||||
if (_poll_fds_num == 0) {
|
||||
usleep(1000 * 1000);
|
||||
|
||||
PX4_DEBUG("no valid fds");
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user