mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -04:00
Sub: Don't declare gripper functions if it's not enabled
This commit is contained in:
parent
854275459d
commit
af8514f1a3
@ -665,7 +665,9 @@ private:
|
|||||||
void update_optical_flow(void);
|
void update_optical_flow(void);
|
||||||
#endif
|
#endif
|
||||||
void read_battery(void);
|
void read_battery(void);
|
||||||
|
#if GRIPPER_ENABLED == ENABLED
|
||||||
void gripper_update();
|
void gripper_update();
|
||||||
|
#endif
|
||||||
void terrain_update();
|
void terrain_update();
|
||||||
void terrain_logging();
|
void terrain_logging();
|
||||||
bool terrain_use();
|
bool terrain_use();
|
||||||
|
Loading…
Reference in New Issue
Block a user