diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index bde0d4bb50..3efee3293e 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -76,7 +76,7 @@ const AP_Scheduler::Task Sub::scheduler_tasks[] = { SCHED_TASK_CLASS(AP_InertialSensor, &sub.ins, periodic, 400, 50, 60), SCHED_TASK_CLASS(AP_Scheduler, &sub.scheduler, update_logging, 0.1, 75, 63), #if RPM_ENABLED == ENABLED - SCHED_TASK_CLASS(AP_RPM, &sub.rpm_sensor, update 10, 200, 66), + SCHED_TASK_CLASS(AP_RPM, &sub.rpm_sensor, update, 10, 200, 66), #endif SCHED_TASK_CLASS(Compass, &sub.compass, cal_update, 100, 100, 69), SCHED_TASK(terrain_update, 10, 100, 72),