mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: remove MOUNT_CONFIGURE/MOUNT_CONTROL handling by default
This commit is contained in:
parent
0dff221a9b
commit
d250d9cb2b
|
@ -65,12 +65,16 @@
|
|||
#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
|
||||
// ArduPilot 4.7 removes the code entirely
|
||||
#ifndef AP_MAVLINK_MSG_MOUNT_CONFIGURE_ENABLED
|
||||
#define AP_MAVLINK_MSG_MOUNT_CONFIGURE_ENABLED HAL_GCS_ENABLED
|
||||
#define AP_MAVLINK_MSG_MOUNT_CONFIGURE_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef AP_MAVLINK_MSG_MOUNT_CONTROL_ENABLED
|
||||
#define AP_MAVLINK_MSG_MOUNT_CONTROL_ENABLED HAL_GCS_ENABLED
|
||||
#define AP_MAVLINK_MSG_MOUNT_CONTROL_ENABLED 0
|
||||
#endif
|
||||
|
||||
// this is for both read and write messages:
|
||||
|
|
Loading…
Reference in New Issue