Skip to content

Commit

Permalink
Blimp: remove unused handle_command_mount override
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed May 17, 2023
1 parent dec9584 commit 5e6b974
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions Blimp/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,16 +479,6 @@ MAV_RESULT GCS_MAVLINK_Blimp::handle_command_int_packet(const mavlink_command_in
}
}

MAV_RESULT GCS_MAVLINK_Blimp::handle_command_mount(const mavlink_command_long_t &packet)
{
// if the mount doesn't do pan control then yaw the entire vehicle instead:
switch (packet.command) {
default:
break;
}
return GCS_MAVLINK::handle_command_mount(packet);
}

MAV_RESULT GCS_MAVLINK_Blimp::handle_command_long_packet(const mavlink_command_long_t &packet)
{
switch (packet.command) {
Expand Down
1 change: 0 additions & 1 deletion Blimp/GCS_Mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class GCS_MAVLINK_Blimp : public GCS_MAVLINK
void send_position_target_global_int() override;

MAV_RESULT handle_command_do_set_roi(const Location &roi_loc) override;
MAV_RESULT handle_command_mount(const mavlink_command_long_t &packet) override;
MAV_RESULT handle_command_int_packet(const mavlink_command_int_t &packet) override;
MAV_RESULT handle_command_long_packet(const mavlink_command_long_t &packet) override;
MAV_RESULT handle_command_int_do_reposition(const mavlink_command_int_t &packet);
Expand Down

0 comments on commit 5e6b974

Please sign in to comment.