SITL: disable gimbal and ADSB in SITL periph
lack of MAVLink makes these problematic
This commit is contained in:
parent
698e38e849
commit
9cde659545
@ -21,7 +21,7 @@
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_SIM_GIMBAL_ENABLED
|
||||
#define HAL_SIM_GIMBAL_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
#define HAL_SIM_GIMBAL_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
||||
|
||||
#if HAL_SIM_GIMBAL_ENABLED
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_SIM_ADSB_ENABLED
|
||||
#define HAL_SIM_ADSB_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
#define HAL_SIM_ADSB_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#endif
|
||||
|
||||
#ifndef HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user