mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Rover: eliminate perf_update scheduler table shim
This commit is contained in:
parent
8288198ac8
commit
90d26a5100
@ -85,7 +85,7 @@ const AP_Scheduler::Task Rover::scheduler_tasks[] = {
|
||||
SCHED_TASK(accel_cal_update, 10, 100),
|
||||
SCHED_TASK_CLASS(DataFlash_Class, &rover.DataFlash, periodic_tasks, 50, 300),
|
||||
SCHED_TASK_CLASS(AP_InertialSensor, &rover.ins, periodic, 50, 50),
|
||||
SCHED_TASK(perf_update, 0.1, 75),
|
||||
SCHED_TASK_CLASS(AP_Scheduler, &rover.scheduler, update_logging, 0.1, 75),
|
||||
SCHED_TASK_CLASS(AP_Button, &rover.button, update, 5, 100),
|
||||
SCHED_TASK(stats_update, 1, 100),
|
||||
SCHED_TASK(crash_check, 10, 1000),
|
||||
@ -252,11 +252,6 @@ void Rover::update_aux(void)
|
||||
SRV_Channels::enable_aux_servos();
|
||||
}
|
||||
|
||||
void Rover::perf_update()
|
||||
{
|
||||
scheduler.update_logging();
|
||||
}
|
||||
|
||||
/*
|
||||
once a second events
|
||||
*/
|
||||
|
@ -387,7 +387,6 @@ private:
|
||||
private:
|
||||
|
||||
// APMrover2.cpp
|
||||
void perf_update();
|
||||
void stats_update();
|
||||
void ahrs_update();
|
||||
void update_alt();
|
||||
|
Loading…
Reference in New Issue
Block a user