fixed empty if body

This commit is contained in:
Julian Oes
2014-11-11 10:28:24 +10:00
parent fa5f365882
commit 3c9a73f3e4

View File

@@ -562,11 +562,8 @@ bool set_nav_state(struct vehicle_status_s *status, const bool data_link_loss_en
status->nav_state = NAVIGATION_STATE_TERMINATION;
}
/* stay where you are */
} else if (stay_in_failsafe){
/* everything is perfect */
} else {
/* stay where you are if you should stay in failsafe, otherwise everything is perfect */
} else if (!stay_in_failsafe){
status->nav_state = NAVIGATION_STATE_AUTO_MISSION;
}
break;