Sub: Don't declare gripper functions if it's not enabled

This commit is contained in:
Jacob Walser 2017-04-11 15:34:15 -04:00
parent 854275459d
commit af8514f1a3

View File

@ -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();