diff --git a/libraries/GCS_MAVLink/GCS_config.h b/libraries/GCS_MAVLink/GCS_config.h index 2cef95f117..90204972cb 100644 --- a/libraries/GCS_MAVLink/GCS_config.h +++ b/libraries/GCS_MAVLink/GCS_config.h @@ -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