Sub: tighten type of result variable in handleMessage

This commit is contained in:
Peter Barker 2017-11-27 17:17:27 +11:00 committed by Francisco Ferreira
parent 398d07a68a
commit 9040bb5f97
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ void GCS_MAVLINK_Sub::handle_change_alt_request(AP_Mission::Mission_Command &cmd
void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
{
uint8_t result = MAV_RESULT_FAILED; // assume failure. Each messages id is responsible for return ACK or NAK if required
MAV_RESULT result = MAV_RESULT_FAILED; // assume failure. Each messages id is responsible for return ACK or NAK if required
switch (msg->msgid) {