From b7e182e05644e31bb219dd6ce8a9e67954d63cc3 Mon Sep 17 00:00:00 2001 From: Mike McCauley Date: Mon, 23 Sep 2013 13:33:32 +1000 Subject: [PATCH] AP_Notify: Add flymaple LED definitions --- libraries/AP_Notify/AP_BoardLED.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_Notify/AP_BoardLED.h b/libraries/AP_Notify/AP_BoardLED.h index 14d960605f..e057480bb2 100644 --- a/libraries/AP_Notify/AP_BoardLED.h +++ b/libraries/AP_Notify/AP_BoardLED.h @@ -55,6 +55,12 @@ # define HAL_GPIO_C_LED_PIN 25 # define HAL_GPIO_LED_ON LOW # define HAL_GPIO_LED_OFF HIGH +#elif CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE + # define HAL_GPIO_A_LED_PIN 13 + # define HAL_GPIO_B_LED_PIN 13 + # define HAL_GPIO_C_LED_PIN 13 + # define HAL_GPIO_LED_ON LOW + # define HAL_GPIO_LED_OFF HIGH #endif class AP_BoardLED