Browse Source

AP_BoardConfig: allow override of BRD_SAFETYENABLE default

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
8d9c9d9130
  1. 2
      libraries/AP_BoardConfig/AP_BoardConfig.cpp

2
libraries/AP_BoardConfig/AP_BoardConfig.cpp

@ -32,7 +32,9 @@
#endif #endif
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#ifndef BOARD_SAFETY_ENABLE_DEFAULT
# define BOARD_SAFETY_ENABLE_DEFAULT 1 # define BOARD_SAFETY_ENABLE_DEFAULT 1
#endif
#ifndef BOARD_SER1_RTSCTS_DEFAULT #ifndef BOARD_SER1_RTSCTS_DEFAULT
# define BOARD_SER1_RTSCTS_DEFAULT 2 # define BOARD_SER1_RTSCTS_DEFAULT 2
#endif #endif

Loading…
Cancel
Save