AP_HAL: use 1/0 not HIGH/LOW for LEDs in ChibiOS

This commit is contained in:
Andrew Tridgell 2018-02-12 10:43:21 +11:00
parent 427e00dd41
commit 310acd333e
1 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,10 @@
#define HAL_GPIO_C_LED_PIN 0
#endif
#ifndef HAL_GPIO_LED_ON
#define HAL_GPIO_LED_ON LOW
#define HAL_GPIO_LED_ON 0
#endif
#ifndef HAL_GPIO_LED_OFF
#define HAL_GPIO_LED_OFF HIGH
#define HAL_GPIO_LED_OFF 1
#endif
#ifndef HAL_WITH_UAVCAN