mirror of https://github.com/ArduPilot/ardupilot
Tracker: initialise battery
This commit is contained in:
parent
bead34be98
commit
e6c7fd2acc
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue