Skip to content

Commit

Permalink
Plane: 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 da7ed73 commit cb57945
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ArduPlane/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1564,12 +1564,6 @@ void GCS_MAVLINK_Plane::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(plane.mission, msg);
Expand Down Expand Up @@ -2083,8 +2077,8 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
plane.adsb.handle_message(chan, msg);
break;

case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
default:
handle_common_message(msg);
break;
} // end switch
} // end handle mavlink
Expand Down

0 comments on commit cb57945

Please sign in to comment.