Browse Source

AP_HAL: Chibios: HAL_GPIO_PIN_SAFETY_IN implies HAL_HAVE_SAFETY_SWITCH

master
Lucas De Marchi 7 years ago committed by Lucas De Marchi
parent
commit
099eefee87
  1. 4
      libraries/AP_HAL/board/chibios.h

4
libraries/AP_HAL/board/chibios.h

@ -20,6 +20,10 @@ @@ -20,6 +20,10 @@
#define HAL_HAVE_BOARD_VOLTAGE 0
#endif
#ifdef HAL_GPIO_PIN_SAFETY_IN
#define HAL_HAVE_SAFETY_SWITCH 1
#endif
#ifndef HAL_HAVE_SAFETY_SWITCH
#define HAL_HAVE_SAFETY_SWITCH 0
#endif

Loading…
Cancel
Save