mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-11 18:34:19 -04:00
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:
parent
81e08b16c9
commit
4fb8408e80
@ -12,7 +12,10 @@
|
|||||||
#define HAL_MAVLINK_BINDINGS_ENABLED HAL_GCS_ENABLED
|
#define HAL_MAVLINK_BINDINGS_ENABLED HAL_GCS_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// CODE_REMOVAL
|
||||||
// BATTERY2 is slated to be removed:
|
// 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
|
#ifndef AP_MAVLINK_BATTERY2_ENABLED
|
||||||
#define AP_MAVLINK_BATTERY2_ENABLED 0
|
#define AP_MAVLINK_BATTERY2_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
@ -59,8 +62,11 @@
|
|||||||
#define AP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED HAL_GCS_ENABLED && HAL_RALLY_ENABLED
|
#define AP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED HAL_GCS_ENABLED && HAL_RALLY_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// CODE_REMOVAL
|
||||||
// handling of HIL_GPS is slated to be removed in 4.7; GPS_INPUT can be used
|
// handling of HIL_GPS is slated to be removed in 4.7; GPS_INPUT can be used
|
||||||
// in its place
|
// in its place
|
||||||
|
// ArduPilot 4.6 stops compiling support in
|
||||||
|
// ArduPilot 4.7 removes the code entirely
|
||||||
#ifndef AP_MAVLINK_MSG_HIL_GPS_ENABLED
|
#ifndef AP_MAVLINK_MSG_HIL_GPS_ENABLED
|
||||||
#define AP_MAVLINK_MSG_HIL_GPS_ENABLED 0
|
#define AP_MAVLINK_MSG_HIL_GPS_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user