Skip to content

Commit

Permalink
ArduSub: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED …
Browse files Browse the repository at this point in the history
…is false
  • Loading branch information
peterbarker committed Oct 26, 2023
1 parent edb4f25 commit c3e5ea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ArduSub/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3e5ea0

Please sign in to comment.