diff --git a/Rover/GCS_Mavlink.cpp b/Rover/GCS_Mavlink.cpp index 24a41058cf756..a7f01fd54b336 100644 --- a/Rover/GCS_Mavlink.cpp +++ b/Rover/GCS_Mavlink.cpp @@ -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