mirror of https://github.com/ArduPilot/ardupilot
Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
This commit is contained in:
parent
6cfc6f56cb
commit
14e0a1028c
|
@ -563,7 +563,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
|
||||||
MSG_RANGEFINDER,
|
MSG_RANGEFINDER,
|
||||||
MSG_DISTANCE_SENSOR,
|
MSG_DISTANCE_SENSOR,
|
||||||
MSG_SYSTEM_TIME,
|
MSG_SYSTEM_TIME,
|
||||||
|
#if AP_BATTERY_ENABLED
|
||||||
MSG_BATTERY_STATUS,
|
MSG_BATTERY_STATUS,
|
||||||
|
#endif
|
||||||
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
||||||
MSG_OPTICAL_FLOW,
|
MSG_OPTICAL_FLOW,
|
||||||
#if COMPASS_CAL_ENABLED
|
#if COMPASS_CAL_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue