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:
parent
c7192c5eef
commit
990a34cb75
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user