diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 82ed2b2eca..29c4e626e4 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -665,7 +665,9 @@ private: void update_optical_flow(void); #endif void read_battery(void); +#if GRIPPER_ENABLED == ENABLED void gripper_update(); +#endif void terrain_update(); void terrain_logging(); bool terrain_use();