mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-06 17:31:49 +08:00
commander delete unused gps_failure_cmd
This commit is contained in:
1 parent
ca804a2308
commit
5a6cde41d5
4 files changed
+3
-15
No files matched your search
@@ -681,7 +681,7 @@ bool set_nav_state(struct vehicle_status_s *status,
|
||||
} else if (status_flags->vtol_transition_failure_cmd) {
|
||||
status->nav_state = vehicle_status_s::NAVIGATION_STATE_AUTO_RTL;
|
||||
|
||||
} else if (status_flags->gps_failure || status_flags->gps_failure_cmd) {
|
||||
} else if (status_flags->gps_failure) {
|
||||
if (status->is_rotary_wing) {
|
||||
status->nav_state = vehicle_status_s::NAVIGATION_STATE_DESCEND;
|
||||
|
||||
|
||||
Reference in new issue
Block a user