mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -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;
|
||||
|
||||
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"));
|
||||
return true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user