mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
APM: make error msg clearer
This commit is contained in:
parent
e8c4dedcd7
commit
0495a0debc
@ -15,7 +15,7 @@ void change_command(uint8_t cmd_index)
|
|||||||
temp = get_cmd_with_index(cmd_index);
|
temp = get_cmd_with_index(cmd_index);
|
||||||
|
|
||||||
if (temp.id > MAV_CMD_NAV_LAST ) {
|
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 {
|
} else {
|
||||||
gcs_send_text_fmt(PSTR("Received Request - jump to command #%i"),cmd_index);
|
gcs_send_text_fmt(PSTR("Received Request - jump to command #%i"),cmd_index);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user