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
This commit is contained in:
Randy Mackay 2014-12-26 15:54:33 +09:00
parent c7192c5eef
commit 990a34cb75

View File

@ -111,7 +111,7 @@ static bool start_command(const AP_Mission::Mission_Command& cmd)
break;
case MAV_CMD_DO_SET_HOME: // 179
do_set_home(cmd);
// unsupported as mission command
break;
case MAV_CMD_DO_SET_SERVO: