mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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_check = true;
|
||||||
AP_Notify::flags.pre_arm_gps_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
|
// init baro before we start the GCS, so that the CLI baro test works
|
||||||
barometer.set_log_baro_bit(MASK_LOG_IMU);
|
barometer.set_log_baro_bit(MASK_LOG_IMU);
|
||||||
barometer.init();
|
barometer.init();
|
||||||
|
Loading…
Reference in New Issue
Block a user