5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-09 09:28:31 -04:00

Rover: use mission.start_or_resume()

this allows the user to setup whether a mission restarts or resumes
This commit is contained in:
Andrew Tridgell 2014-05-08 08:35:22 +10:00
parent 32a1fac612
commit cd8fd86565

View File

@ -82,5 +82,5 @@ static void restart_nav()
{
g.pidSpeedThrottle.reset_I();
prev_WP = current_loc;
mission.resume();
mission.start_or_resume();
}