GCS_MAVLink: remove handling of HIL_GPS

... per deprecation/removal schedule
This commit is contained in:
Peter Barker 2024-11-12 14:56:10 +11:00 committed by Andrew Tridgell
parent f38668bd6a
commit 866e00f143
2 changed files with 0 additions and 14 deletions

View File

@ -4303,11 +4303,6 @@ void GCS_MAVLINK::handle_message(const mavlink_message_t &msg)
#endif
#if AP_GPS_ENABLED
#if AP_MAVLINK_MSG_HIL_GPS_ENABLED
case MAVLINK_MSG_ID_HIL_GPS:
send_received_message_deprecation_warning("HIL_GPS");
FALLTHROUGH;
#endif
case MAVLINK_MSG_ID_GPS_RTCM_DATA:
case MAVLINK_MSG_ID_GPS_INPUT:
case MAVLINK_MSG_ID_GPS_INJECT_DATA:

View File

@ -71,15 +71,6 @@
#define AP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED HAL_GCS_ENABLED && HAL_RALLY_ENABLED
#endif
// CODE_REMOVAL
// handling of HIL_GPS is slated to be removed in 4.7; GPS_INPUT can be used
// in its place
// ArduPilot 4.6 stops compiling support in
// ArduPilot 4.7 removes the code entirely
#ifndef AP_MAVLINK_MSG_HIL_GPS_ENABLED
#define AP_MAVLINK_MSG_HIL_GPS_ENABLED 0
#endif
// CODE_REMOVAL
// ArduPilot 4.5 sends deprecation warnings for MOUNT_CONTROL/MOUNT_CONFIGURE
// ArduPilot 4.6 stops compiling them in