mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Plane: correct typo re RTL home with no mission
This commit is contained in:
parent
7f21e3885e
commit
f1b97fee53
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user