Skip to content

Commit

Permalink
Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is…
Browse files Browse the repository at this point in the history
… false
  • Loading branch information
peterbarker committed Oct 26, 2023
1 parent 6cfc6f5 commit 14e0a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rover/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
MSG_RANGEFINDER,
MSG_DISTANCE_SENSOR,
MSG_SYSTEM_TIME,
#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 14e0a10

Please sign in to comment.