From 456a87de952ca12e0c09db7d6cb325a62e6f6c89 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 20 Mar 2023 12:24:41 -0700 Subject: [PATCH] Rover: bugfix PRECISION_LANDING needing AP_GRIPPER_ENABLED --- Rover/Rover.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rover/Rover.cpp b/Rover/Rover.cpp index f8a3ef7800..bb6f56120a 100644 --- a/Rover/Rover.cpp +++ b/Rover/Rover.cpp @@ -97,10 +97,10 @@ const AP_Scheduler::Task Rover::scheduler_tasks[] = { SCHED_TASK_CLASS(AP_ServoRelayEvents, &rover.ServoRelayEvents, update_events, 50, 200, 66), #if AP_GRIPPER_ENABLED SCHED_TASK_CLASS(AP_Gripper, &rover.g2.gripper, update, 10, 75, 69), +#endif #if PRECISION_LANDING == ENABLED SCHED_TASK(update_precland, 400, 50, 70), #endif -#endif #if AP_RPM_ENABLED SCHED_TASK_CLASS(AP_RPM, &rover.rpm_sensor, update, 10, 100, 72), #endif