Skip to content

Commit

Permalink
Copter: 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 90c4214 commit df3e434
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,12 +845,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
break;
}

case MAVLINK_MSG_ID_PARAM_REQUEST_READ: // MAV ID: 20
{
handle_param_request_read(msg);
break;
}

case MAVLINK_MSG_ID_PARAM_REQUEST_LIST: // MAV ID: 21
{
// mark the firmware version in the tlog
Expand Down Expand Up @@ -1972,10 +1966,9 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
#endif
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 df3e434

Please sign in to comment.