SITL: disable gimbal and ADSB in SITL periph

lack of MAVLink makes these problematic
This commit is contained in:
Andrew Tridgell 2023-08-18 06:28:28 +10:00 committed by Peter Barker
parent 698e38e849
commit 9cde659545
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_SIM_GIMBAL_ENABLED #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 #endif
#if HAL_SIM_GIMBAL_ENABLED #if HAL_SIM_GIMBAL_ENABLED

View File

@ -3,7 +3,7 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_SIM_ADSB_ENABLED #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 #endif
#ifndef HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED #ifndef HAL_SIM_SERIALPROXIMITYSENSOR_ENABLED