From 9ecf4ae2ca19a3d58acc6930020509f62885d452 Mon Sep 17 00:00:00 2001 From: Peter Hall <33176108+IamPete1@users.noreply.github.com> Date: Fri, 26 Apr 2019 18:56:25 +0100 Subject: [PATCH] Tracker: initialise battery --- AntennaTracker/system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AntennaTracker/system.cpp b/AntennaTracker/system.cpp index 679c3ddd9d..0040d4ebeb 100644 --- a/AntennaTracker/system.cpp +++ b/AntennaTracker/system.cpp @@ -42,6 +42,9 @@ void Tracker::init_tracker() AP_Notify::flags.pre_arm_check = true; AP_Notify::flags.pre_arm_gps_check = true; + // initialise battery + battery.init(); + // init baro before we start the GCS, so that the CLI baro test works barometer.set_log_baro_bit(MASK_LOG_IMU); barometer.init();