ArduCopter: move call to compass cal update up to AP_Vehicle

This commit is contained in:
Peter Barker 2022-07-16 12:02:45 +10:00 committed by Andrew Tridgell
parent 1dafc68469
commit d39fcfd038
2 changed files with 0 additions and 2 deletions

View File

@ -213,7 +213,6 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
#if RPM_ENABLED == ENABLED
SCHED_TASK_CLASS(AP_RPM, &copter.rpm_sensor, update, 40, 200, 129),
#endif
SCHED_TASK_CLASS(Compass, &copter.compass, cal_update, 100, 100, 132),
SCHED_TASK_CLASS(AP_TempCalibration, &copter.g2.temp_calibration, update, 10, 100, 135),
#if HAL_ADSB_ENABLED
SCHED_TASK(avoidance_adsb_update, 10, 100, 138),

View File

@ -880,7 +880,6 @@ private:
bool rangefinder_alt_ok() const;
bool rangefinder_up_ok() const;
void update_optical_flow(void);
void compass_cal_update(void);
// RC_Channel.cpp
void save_trim();