mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 14:56:51 +08:00
Fix navigator timeout logic
This commit is contained in:
@@ -347,10 +347,11 @@ Navigator::task_main()
|
||||
/* this is undesirable but not much we can do - might want to flag unhappy status */
|
||||
PX4_WARN("nav: poll error %d, %d", pret, errno);
|
||||
continue;
|
||||
} else {
|
||||
/* success, global pos was available */
|
||||
global_pos_available_once = true;
|
||||
}
|
||||
|
||||
global_pos_available_once = true;
|
||||
|
||||
perf_begin(_loop_perf);
|
||||
|
||||
bool updated;
|
||||
|
||||
Reference in New Issue
Block a user