From bbc040d8076d49f098462a6e368574a0ae72f8ec Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 8 Feb 2022 13:57:21 +1100 Subject: [PATCH] ArduSub: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION --- ArduSub/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index b69de5e4b5..d3976fb84f 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -710,6 +710,8 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg) break; case MAVLINK_MSG_ID_SET_HOME_POSITION: { + send_received_message_deprecation_warning(STR_VALUE(MAVLINK_MSG_ID_SET_HOME_POSITION)); + mavlink_set_home_position_t packet; mavlink_msg_set_home_position_decode(&msg, &packet); if ((packet.latitude == 0) && (packet.longitude == 0) && (packet.altitude == 0)) {