mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: use 1/0 not HIGH/LOW for LEDs in ChibiOS
This commit is contained in:
parent
427e00dd41
commit
310acd333e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user