Skip to content
Snippets Groups Projects
Commit 990a34cb authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: remove support for do-set-home mission command

This avoids the chance of an arithmetic exception in cases where the
position is moved too far
parent c7192c5e
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ static bool start_command(const AP_Mission::Mission_Command& cmd) ...@@ -111,7 +111,7 @@ static bool start_command(const AP_Mission::Mission_Command& cmd)
break; break;
case MAV_CMD_DO_SET_HOME: // 179 case MAV_CMD_DO_SET_HOME: // 179
do_set_home(cmd); // unsupported as mission command
break; break;
case MAV_CMD_DO_SET_SERVO: case MAV_CMD_DO_SET_SERVO:
......
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