From 7f984f270000338eea8153d54bcbc48185c2867b Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 29 Jun 2018 10:55:45 -0700 Subject: [PATCH] AP_HAL: linux: disable safety switch Linux boards don't really handle the safety switch. --- libraries/AP_HAL/board/linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index f507175afa..43b9c20914 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -359,7 +359,7 @@ #endif #define HAL_HAVE_BOARD_VOLTAGE 1 -#define HAL_HAVE_SAFETY_SWITCH 1 +#define HAL_HAVE_SAFETY_SWITCH 0 #ifndef AP_STATEDIR #define HAL_BOARD_STATE_DIRECTORY "/var/lib/ardupilot"