mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-01 03:04:04 -04:00
24 lines
771 B
C
24 lines
771 B
C
|
#pragma once
|
||
|
|
||
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||
|
|
||
|
#ifndef AP_IRLOCK_ENABLED
|
||
|
#define AP_IRLOCK_ENABLED 1
|
||
|
#endif // AP_IRLOCK_ENABLED
|
||
|
|
||
|
#ifndef AP_IRLOCK_BACKEND_DEFAULT_ENABLED
|
||
|
#define AP_IRLOCK_BACKEND_DEFAULT_ENABLED AP_IRLOCK_ENABLED
|
||
|
#endif // AP_IRLOCK_BACKEND_DEFAULT_ENABLED
|
||
|
|
||
|
#ifndef AP_IRLOCK_I2C_ENABLED
|
||
|
#define AP_IRLOCK_I2C_ENABLED AP_IRLOCK_BACKEND_DEFAULT_ENABLED
|
||
|
#endif // AP_IRLOCK_I2C_ENABLED
|
||
|
|
||
|
#ifndef AP_IRLOCK_SITL_ENABLED
|
||
|
#define AP_IRLOCK_SITL_ENABLED AP_IRLOCK_BACKEND_DEFAULT_ENABLED && (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||
|
#endif // AP_IRLOCK_SITL_ENABLED
|
||
|
|
||
|
#ifndef AP_IRLOCK_SITL_GAZEBO_ENABLED
|
||
|
#define AP_IRLOCK_SITL_GAZEBO_ENABLED AP_IRLOCK_BACKEND_DEFAULT_ENABLED && (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||
|
#endif // AP_IRLOCK_SITL_GAZEBO_ENABLED
|