Plane: correct typo re RTL home with no mission

This commit is contained in:
Randy Mackay 2014-03-14 22:56:21 +09:00
parent 7f21e3885e
commit f1b97fee53

View File

@ -1120,7 +1120,7 @@ static void handle_auto_mode(void)
// we should be either running a mission or RTLing home
if (mission.state() == AP_Mission::MISSION_RUNNING) {
mission.get_current_nav_cmd().id;
nav_cmd_id = mission.get_current_nav_cmd().id;
}else{
nav_cmd_id = auto_rtl_command.id;
}