mirror of https://github.com/ArduPilot/ardupilot
ArduSub: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
This commit is contained in:
parent
edb4f25953
commit
c3e5ea0b0f
|
@ -385,7 +385,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
|
|||
#if AP_TERRAIN_AVAILABLE
|
||||
MSG_TERRAIN,
|
||||
#endif
|
||||
#if AP_BATTERY_ENABLED
|
||||
MSG_BATTERY_STATUS,
|
||||
#endif
|
||||
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
||||
MSG_OPTICAL_FLOW,
|
||||
#if COMPASS_CAL_ENABLED
|
||||
|
|
Loading…
Reference in New Issue