Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency

This commit is contained in:
Lorenz Meier
2016-03-13 15:39:35 +01:00
parent f472ac577a
commit 1fdf252e96
5 changed files with 23 additions and 29 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ Navigator::task_main()
_pos_sp_triplet_published_invalid_once = false;
_navigation_mode = &_takeoff;
break;
case vehicle_status_s::NAVIGATION_STATE_LAND:
case vehicle_status_s::NAVIGATION_STATE_AUTO_LAND:
_pos_sp_triplet_published_invalid_once = false;
_navigation_mode = &_land;
break;