AntennaTracker: 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:48 +11:00 committed by Peter Barker
parent f18e196fa9
commit c7f7ec3312
2 changed files with 3 additions and 3 deletions

View File

@ -464,7 +464,7 @@ bool GCS_MAVLINK_Tracker::set_home(const Location& loc, bool _lock) {
return tracker.set_home(loc);
}
void GCS_MAVLINK_Tracker::handleMessage(const mavlink_message_t &msg)
void GCS_MAVLINK_Tracker::handle_message(const mavlink_message_t &msg)
{
switch (msg.msgid) {
@ -610,7 +610,7 @@ mission_failed:
}
default:
handle_common_message(msg);
GCS_MAVLINK::handle_message(msg);
break;
} // end switch
} // end handle mavlink

View File

@ -37,7 +37,7 @@ private:
void packetReceived(const mavlink_status_t &status, const mavlink_message_t &msg) override;
void mavlink_check_target(const mavlink_message_t &msg);
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;
void handle_set_attitude_target(const mavlink_message_t &msg);