mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_Boards: stop users specifying HAL_GPIO_LED_ON as the default value
This commit is contained in:
parent
2ee760e114
commit
9a1a99fd61
|
@ -378,6 +378,8 @@
|
|||
|
||||
#ifndef HAL_GPIO_LED_ON
|
||||
#define HAL_GPIO_LED_ON 0
|
||||
#elif HAL_GPIO_LED_ON == 0
|
||||
#error "Do not specify HAL_GPIO_LED_ON if you are setting it to the default, 0"
|
||||
#endif
|
||||
|
||||
#ifdef HAL_GPIO_LED_OFF
|
||||
|
|
Loading…
Reference in New Issue