Blimp: remove un-needed DO_FOLLOW code case
UNSUPPORTED is the default return value from any unhandled case
This commit is contained in:
parent
5c7e22debb
commit
d5b064b660
@ -469,9 +469,6 @@ MAV_RESULT GCS_MAVLINK_Blimp::handle_command_int_do_reposition(const mavlink_com
|
|||||||
MAV_RESULT GCS_MAVLINK_Blimp::handle_command_int_packet(const mavlink_command_int_t &packet)
|
MAV_RESULT GCS_MAVLINK_Blimp::handle_command_int_packet(const mavlink_command_int_t &packet)
|
||||||
{
|
{
|
||||||
switch (packet.command) {
|
switch (packet.command) {
|
||||||
case MAV_CMD_DO_FOLLOW:
|
|
||||||
return MAV_RESULT_UNSUPPORTED;
|
|
||||||
|
|
||||||
case MAV_CMD_DO_REPOSITION:
|
case MAV_CMD_DO_REPOSITION:
|
||||||
return handle_command_int_do_reposition(packet);
|
return handle_command_int_do_reposition(packet);
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user