From e40a0839e96157a7cc345b69005a1ec7e5008c69 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 26 Sep 2018 09:05:46 -0700 Subject: [PATCH] px4-stm32f4discovery:Added Logical BOARD specific LED mapping Define the logical LED that are uses on px4-stm32f4discovery --- src/drivers/boards/px4-stm32f4discovery/board_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/boards/px4-stm32f4discovery/board_config.h b/src/drivers/boards/px4-stm32f4discovery/board_config.h index ba2fea7c62..adc7444503 100644 --- a/src/drivers/boards/px4-stm32f4discovery/board_config.h +++ b/src/drivers/boards/px4-stm32f4discovery/board_config.h @@ -66,6 +66,8 @@ #define GPIO_LED4 (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|\ GPIO_OUTPUT_CLEAR|GPIO_PORTD|GPIO_PIN15) +#define BOARD_OVERLOAD_LED LED_RED + /* SPI chip selects */ #define GPIO_SPI_CS_MEMS (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_SET|GPIO_PORTE|GPIO_PIN3)