mirror of https://github.com/ArduPilot/ardupilot
Rover: use mission.start_or_resume()
this allows the user to setup whether a mission restarts or resumes
This commit is contained in:
parent
32a1fac612
commit
cd8fd86565
|
@ -82,5 +82,5 @@ static void restart_nav()
|
|||
{
|
||||
g.pidSpeedThrottle.reset_I();
|
||||
prev_WP = current_loc;
|
||||
mission.resume();
|
||||
mission.start_or_resume();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue