ArduSub: use virtual method for GCS_MAVLink::handle_message

use more appropriate naming for the method.
This commit is contained in:
Peter Barker 2024-01-23 17:41:49 +11:00 committed by Peter Barker
parent 2f0cb8b650
commit aa14e73a0b
2 changed files with 3 additions and 3 deletions

View File

@ -568,7 +568,7 @@ MAV_RESULT GCS_MAVLINK_Sub::handle_MAV_CMD_DO_MOTOR_TEST(const mavlink_command_i
return MAV_RESULT_ACCEPTED;
}
void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
void GCS_MAVLINK_Sub::handle_message(const mavlink_message_t &msg)
{
switch (msg.msgid) {
@ -817,7 +817,7 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
break;
default:
handle_common_message(msg);
GCS_MAVLINK::handle_message(msg);
break;
} // end switch
} // end handle mavlink

View File

@ -41,7 +41,7 @@ protected:
private:
void handleMessage(const mavlink_message_t &msg) override;
void handle_message(const mavlink_message_t &msg) override;
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
bool try_send_message(enum ap_message id) override;