mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix navigator timeout logic
This commit is contained in:
parent
2f113a4ce3
commit
de675845af
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user