mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
ArduCopter: move call to compass cal update up to AP_Vehicle
This commit is contained in:
parent
1dafc68469
commit
d39fcfd038
@ -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),
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user