APM: make error msg clearer

This commit is contained in:
Andrew Tridgell 2012-09-26 20:15:53 +10:00
parent 0a80b69e62
commit d1f0b382ce
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ void change_command(uint8_t cmd_index)
temp = get_cmd_with_index(cmd_index);
if (temp.id > MAV_CMD_NAV_LAST ) {
gcs_send_text_P(SEVERITY_LOW,PSTR("Bad Request - cannot change to non-Nav cmd"));
gcs_send_text_fmt(PSTR("Cannot change to non-Nav cmd %u"), (unsigned)cmd_index);
} else {
gcs_send_text_fmt(PSTR("Received Request - jump to command #%i"),cmd_index);