GCS_MAVLink: clarify timeline on removal of HIL_GPS and BATTERY2

try to move to a standard greppable pattern for code to be removed
This commit is contained in:
Peter Barker 2024-06-06 10:06:21 +10:00 committed by Andrew Tridgell
parent 81e08b16c9
commit 4fb8408e80

View File

@ -12,7 +12,10 @@
#define HAL_MAVLINK_BINDINGS_ENABLED HAL_GCS_ENABLED
#endif
// CODE_REMOVAL
// BATTERY2 is slated to be removed:
// ArduPilot 4.6 stops compiling support in
// ArduPilot 4.7 removes the code entirely
#ifndef AP_MAVLINK_BATTERY2_ENABLED
#define AP_MAVLINK_BATTERY2_ENABLED 0
#endif
@ -59,8 +62,11 @@
#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