From 310acd333e3783a0659adbf3edc57daf7ca4037e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Feb 2018 10:43:21 +1100 Subject: [PATCH] AP_HAL: use 1/0 not HIGH/LOW for LEDs in ChibiOS --- libraries/AP_HAL/board/chibios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL/board/chibios.h b/libraries/AP_HAL/board/chibios.h index f4279acc82..e435ad3926 100644 --- a/libraries/AP_HAL/board/chibios.h +++ b/libraries/AP_HAL/board/chibios.h @@ -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