AP_Notify: blank Linux LED defines

This commit is contained in:
Andrew Tridgell 2013-09-22 16:03:45 +10:00
parent 1243ab9e63
commit 018b8fde95

View File

@ -54,6 +54,14 @@
# define HAL_GPIO_C_LED_PIN 13
# define HAL_GPIO_LED_ON LOW
# define HAL_GPIO_LED_OFF HIGH
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
# define HAL_GPIO_A_LED_PIN -1
# define HAL_GPIO_B_LED_PIN -1
# define HAL_GPIO_C_LED_PIN -1
# define HAL_GPIO_LED_ON LOW
# define HAL_GPIO_LED_OFF HIGH
#else
#error "Unknown board type in AP_Notify"
#endif
class AP_BoardLED