ardupilot/libraries/AP_Gripper/AP_Gripper_config.h
Peter Barker 59af9436db AP_Gripper: correct config boards include
Important to include AP_HAL_Boards.h directly, rather than relying on someone else having done it or getting it transitively
2023-03-19 09:08:41 +11:00

20 lines
439 B
C

#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef AP_GRIPPER_ENABLED
#define AP_GRIPPER_ENABLED 1
#endif
#ifndef AP_GRIPPER_BACKEND_DEFAULT_ENABLED
#define AP_GRIPPER_BACKEND_DEFAULT_ENABLED AP_GRIPPER_ENABLED
#endif
#ifndef AP_GRIPPER_SERVO_ENABLED
#define AP_GRIPPER_SERVO_ENABLED AP_GRIPPER_BACKEND_DEFAULT_ENABLED
#endif
#ifndef AP_GRIPPER_EPM_ENABLED
#define AP_GRIPPER_EPM_ENABLED AP_GRIPPER_BACKEND_DEFAULT_ENABLED
#endif