Rover: 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 55710e7f7b
commit 03fe367459
2 changed files with 3 additions and 3 deletions

View File

@ -777,7 +777,7 @@ MAV_RESULT GCS_MAVLINK_Rover::handle_command_int_do_reposition(const mavlink_com
return MAV_RESULT_ACCEPTED; return MAV_RESULT_ACCEPTED;
} }
void GCS_MAVLINK_Rover::handleMessage(const mavlink_message_t &msg) void GCS_MAVLINK_Rover::handle_message(const mavlink_message_t &msg)
{ {
switch (msg.msgid) { switch (msg.msgid) {
@ -799,7 +799,7 @@ void GCS_MAVLINK_Rover::handleMessage(const mavlink_message_t &msg)
break; break;
default: default:
handle_common_message(msg); GCS_MAVLINK::handle_message(msg);
break; break;
} }
} }

View File

@ -38,7 +38,7 @@ protected:
private: 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 handle_guided_request(AP_Mission::Mission_Command &cmd) override;
bool try_send_message(enum ap_message id) override; bool try_send_message(enum ap_message id) override;