AP_HAL_Linux: AP_BoardLED add support for Erle-Brain 2
This commit is contained in:
parent
30faf7e92a
commit
b54b8aa8af
@ -43,6 +43,12 @@
|
||||
# define HAL_GPIO_C_LED_PIN 16
|
||||
# define HAL_GPIO_LED_ON LOW
|
||||
# define HAL_GPIO_LED_OFF HIGH
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBRAIN2
|
||||
# define HAL_GPIO_A_LED_PIN 24
|
||||
# define HAL_GPIO_B_LED_PIN 25
|
||||
# define HAL_GPIO_C_LED_PIN 16
|
||||
# define HAL_GPIO_LED_ON LOW
|
||||
# define HAL_GPIO_LED_OFF HIGH
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
# define HAL_GPIO_A_LED_PIN 61
|
||||
# define HAL_GPIO_B_LED_PIN 48
|
||||
|
Loading…
Reference in New Issue
Block a user