mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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
|
#define AP_MAVLINK_MSG_HIL_GPS_ENABLED 0
|
||||||
#endif
|
#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
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef AP_MAVLINK_MSG_MOUNT_CONTROL_ENABLED
|
#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
|
#endif
|
||||||
|
|
||||||
// this is for both read and write messages:
|
// this is for both read and write messages:
|
||||||
|
Loading…
Reference in New Issue
Block a user