mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Mount: Remove handler for DO_SET_ROI_NONE
This commit is contained in:
parent
57cead9052
commit
5b28086131
@ -505,12 +505,6 @@ MAV_RESULT AP_Mount::handle_command_do_set_roi_sysid(const mavlink_command_int_t
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
}
|
||||
|
||||
MAV_RESULT AP_Mount::handle_command_do_set_roi_none()
|
||||
{
|
||||
set_mode_to_default();
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
}
|
||||
|
||||
MAV_RESULT AP_Mount::handle_command(const mavlink_command_int_t &packet, const mavlink_message_t &msg)
|
||||
{
|
||||
switch (packet.command) {
|
||||
@ -524,8 +518,6 @@ MAV_RESULT AP_Mount::handle_command(const mavlink_command_int_t &packet, const m
|
||||
return handle_command_do_gimbal_manager_configure(packet, msg);
|
||||
case MAV_CMD_DO_SET_ROI_SYSID:
|
||||
return handle_command_do_set_roi_sysid(packet);
|
||||
case MAV_CMD_DO_SET_ROI_NONE:
|
||||
return handle_command_do_set_roi_none();
|
||||
default:
|
||||
return MAV_RESULT_UNSUPPORTED;
|
||||
}
|
||||
|
@ -181,9 +181,6 @@ public:
|
||||
// handling of set_roi_sysid message
|
||||
MAV_RESULT handle_command_do_set_roi_sysid(const mavlink_command_int_t &packet);
|
||||
|
||||
// handling of set_roi_none message
|
||||
MAV_RESULT handle_command_do_set_roi_none();
|
||||
|
||||
// mavlink message handling:
|
||||
MAV_RESULT handle_command(const mavlink_command_int_t &packet, const mavlink_message_t &msg);
|
||||
void handle_param_value(const mavlink_message_t &msg);
|
||||
|
Loading…
Reference in New Issue
Block a user