mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -04:00
Tracker: initialise battery
This commit is contained in:
parent
51d90018aa
commit
9ecf4ae2ca
@ -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
Block a user