AP_Mount: fix handle_command_do_mount_configure instance handling
This commit is contained in:
parent
e58d72931e
commit
898bdb864c
@ -609,9 +609,9 @@ MAV_RESULT AP_Mount::handle_command_do_mount_configure(const mavlink_command_lon
|
||||
return MAV_RESULT_FAILED;
|
||||
}
|
||||
_backends[_primary]->set_mode((MAV_MOUNT_MODE)packet.param1);
|
||||
state[0]._stab_roll = packet.param2;
|
||||
state[0]._stab_tilt = packet.param3;
|
||||
state[0]._stab_pan = packet.param4;
|
||||
state[_primary]._stab_roll = packet.param2;
|
||||
state[_primary]._stab_tilt = packet.param3;
|
||||
state[_primary]._stab_pan = packet.param4;
|
||||
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user