From 018b8fde95e712a94b7790653a067e42b04e87bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 22 Sep 2013 16:03:45 +1000 Subject: [PATCH] AP_Notify: blank Linux LED defines --- libraries/AP_Notify/AP_BoardLED.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/AP_Notify/AP_BoardLED.h b/libraries/AP_Notify/AP_BoardLED.h index 07e139b545..f7eccaa783 100644 --- a/libraries/AP_Notify/AP_BoardLED.h +++ b/libraries/AP_Notify/AP_BoardLED.h @@ -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