Skip to content
Snippets Groups Projects
Commit f80eb65d authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

APM: make error msg clearer

parent 020ba38c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment