mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: remove Baro accumulate API
no backend actually needs to be prodded, everything is done on timers
This commit is contained in:
parent
b173662b3c
commit
e47c65f010
|
@ -81,7 +81,6 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] = {
|
||||||
SCHED_TASK_CLASS(AP_ServoRelayEvents, &plane.ServoRelayEvents, update_events, 50, 150, 63),
|
SCHED_TASK_CLASS(AP_ServoRelayEvents, &plane.ServoRelayEvents, update_events, 50, 150, 63),
|
||||||
#endif
|
#endif
|
||||||
SCHED_TASK_CLASS(AP_BattMonitor, &plane.battery, read, 10, 300, 66),
|
SCHED_TASK_CLASS(AP_BattMonitor, &plane.battery, read, 10, 300, 66),
|
||||||
SCHED_TASK_CLASS(AP_Baro, &plane.barometer, accumulate, 50, 150, 69),
|
|
||||||
SCHED_TASK(read_rangefinder, 50, 100, 78),
|
SCHED_TASK(read_rangefinder, 50, 100, 78),
|
||||||
#if AP_ICENGINE_ENABLED
|
#if AP_ICENGINE_ENABLED
|
||||||
SCHED_TASK_CLASS(AP_ICEngine, &plane.g2.ice_control, update, 10, 100, 81),
|
SCHED_TASK_CLASS(AP_ICEngine, &plane.g2.ice_control, update, 10, 100, 81),
|
||||||
|
|
Loading…
Reference in New Issue