Rover: Improved message when AUTO selected but no commands loaded.

I updated the message when you select AUTO mode but you haven't put
any waypoints in.  It now says "No commands so can't set AUTO- setting
HOLD instead"
This commit is contained in:
Grant Morphett 2015-01-21 22:12:22 +11:00 committed by Andrew Tridgell
parent 236efad159
commit 5b4443a137
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ start_command(const AP_Mission::Mission_Command& cmd)
static void exit_mission()
{
if (control_mode == AUTO) {
gcs_send_text_fmt(PSTR("No commands - setting HOLD"));
gcs_send_text_fmt(PSTR("No commands. Can't set AUTO - setting HOLD"));
set_mode(HOLD);
}
}