diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 4b7fcef124..6706933c15 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -1401,7 +1401,7 @@ void GCS_MAVLINK::send_parameter_value_all(const char *param_name, ap_var_type p void GCS_MAVLINK::send_battery2(const AP_BattMonitor &battery) { if (battery.num_instances() > 1) { - mavlink_msg_battery2_send(chan, battery.voltage2()*1000, battery.current_amps(1)); + mavlink_msg_battery2_send(chan, battery.voltage(1)*1000, battery.current_amps(1)); } }