Browse Source

Rover: use mission.start_or_resume()

this allows the user to setup whether a mission restarts or resumes
mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
cd8fd86565
  1. 2
      APMrover2/commands.pde

2
APMrover2/commands.pde

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

Loading…
Cancel
Save