mirror of https://github.com/ArduPilot/ardupilot
16 lines
425 B
C
16 lines
425 B
C
#pragma once
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
#ifndef HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED
|
|
#define HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
|
#endif
|
|
|
|
#ifndef HAL_SIM_PS_RPLIDARA1_ENABLED
|
|
#define HAL_SIM_PS_RPLIDARA1_ENABLED HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED
|
|
#endif
|
|
|
|
#ifndef HAL_SIM_PS_RPLIDARA2_ENABLED
|
|
#define HAL_SIM_PS_RPLIDARA2_ENABLED HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED
|
|
#endif
|