mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Rover: prevent unsupported command messages
this prevents errors on DO_CHANGE_SPEED
This commit is contained in:
parent
0ca5a60f25
commit
a1b94bf852
@ -161,6 +161,10 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
if (cmd.id > MAV_CMD_CONDITION_LAST) {
|
||||||
|
// this is a command that doesn't require verify
|
||||||
|
return true;
|
||||||
|
}
|
||||||
gcs_send_text_P(SEVERITY_HIGH,PSTR("verify_conditon: Unsupported command"));
|
gcs_send_text_P(SEVERITY_HIGH,PSTR("verify_conditon: Unsupported command"));
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user