AP_HAL: act on safety switch being enabled in SITL by zeroing outputs

This commit is contained in:
Peter Barker 2023-07-07 13:27:26 +10:00 committed by Andrew Tridgell
parent 946840cc99
commit f5a26495d3
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
#define HAL_HAVE_BOARD_VOLTAGE 1 #define HAL_HAVE_BOARD_VOLTAGE 1
#define HAL_HAVE_SERVO_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 // only include if compiling C++ code
#ifdef __cplusplus #ifdef __cplusplus