diff --git a/libraries/AP_HAL/board/sitl.h b/libraries/AP_HAL/board/sitl.h index 0f45103562..6f0780a3d6 100644 --- a/libraries/AP_HAL/board/sitl.h +++ b/libraries/AP_HAL/board/sitl.h @@ -47,7 +47,7 @@ #define HAL_HAVE_BOARD_VOLTAGE 1 #define HAL_HAVE_SERVO_VOLTAGE 1 -#define HAL_HAVE_SAFETY_SWITCH 0 +#define HAL_HAVE_SAFETY_SWITCH 1 // only include if compiling C++ code #ifdef __cplusplus