Skip to content

Commit

Permalink
Rover: use handle_common_message()
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Nov 9, 2016
1 parent cb57945 commit 8417958
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions APMrover2/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1135,12 +1135,6 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
break;
}

case MAVLINK_MSG_ID_PARAM_REQUEST_READ:
{
handle_param_request_read(msg);
break;
}

case MAVLINK_MSG_ID_MISSION_CLEAR_ALL:
{
handle_mission_clear_all(rover.mission, msg);
Expand Down Expand Up @@ -1431,10 +1425,6 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
send_autopilot_version(FIRMWARE_VERSION);
break;

case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
break;

case MAVLINK_MSG_ID_LED_CONTROL:
// send message to Notify
AP_Notify::handle_led_control(msg);
Expand All @@ -1444,6 +1434,11 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
// send message to Notify
AP_Notify::handle_play_tune(msg);
break;

default:
handle_common_message(msg);
break;

} // end switch
} // end handle mavlink

Expand Down

0 comments on commit 8417958

Please sign in to comment.