From 132baa1ad0e97587cf4d2532733ec2abfc213170 Mon Sep 17 00:00:00 2001 From: Jaaaky <43599380+Jaaaky@users.noreply.github.com> Date: Thu, 13 Jan 2022 22:56:24 +0300 Subject: [PATCH] ArduSub: Fix build with RPM_ENABLED --- ArduSub/ArduSub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),