From 2336d2214b9c2df25aaf9d4be2b468e1a8c3b47d Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 29 Jun 2018 10:55:45 -0700 Subject: [PATCH] AP_HAL: sitl: disable safety switch sitl doesn't really handle the safety switch and it's actually disabled by AP_FEATURE_SAFETY_BUTTON. --- libraries/AP_HAL/board/sitl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/sitl.h b/libraries/AP_HAL/board/sitl.h index 827ca24218..6a6ae8af7b 100644 --- a/libraries/AP_HAL/board/sitl.h +++ b/libraries/AP_HAL/board/sitl.h @@ -19,4 +19,4 @@ #define HAL_GPIO_LED_OFF 1 #define HAL_HAVE_BOARD_VOLTAGE 1 -#define HAL_HAVE_SAFETY_SWITCH 1 +#define HAL_HAVE_SAFETY_SWITCH 0