From 6dc4f0d00712e02268a43a38a97f06cdb3444447 Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Thu, 18 Feb 2016 17:16:24 +0100 Subject: [PATCH] boards/msb-430(h): added LED_GREEN_x macros --- boards/msb-430/include/board.h | 9 ++++++++- boards/msb-430h/include/board.h | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/boards/msb-430/include/board.h b/boards/msb-430/include/board.h index 3d93516dfd..36eca6aa57 100644 --- a/boards/msb-430/include/board.h +++ b/boards/msb-430/include/board.h @@ -55,7 +55,10 @@ extern "C" { #define MSP430_HAS_DCOR 1 #define MSP430_HAS_EXTERNAL_CRYSTAL 0 -/* LEDs ports MSB430 */ +/** + * @brief LED definitions + * @{ + */ #define LEDS_PxDIR P5DIR #define LEDS_PxOUT P5OUT #define LEDS_CONF_RED 0x80 @@ -65,6 +68,10 @@ extern "C" { #define LED_RED_ON LEDS_PxOUT &=~LEDS_CONF_RED #define LED_RED_OFF LEDS_PxOUT |= LEDS_CONF_RED #define LED_RED_TOGGLE LEDS_PxOUT ^= LEDS_CONF_RED +#define LED_GREEN_ON /* not present */ +#define LED_GREEN_OFF /* not present */ +#define LED_GREEN_TOGGLE /* not present */ +/** @} */ #ifdef __cplusplus } diff --git a/boards/msb-430h/include/board.h b/boards/msb-430h/include/board.h index cc3b456929..68badc21c7 100644 --- a/boards/msb-430h/include/board.h +++ b/boards/msb-430h/include/board.h @@ -49,7 +49,10 @@ extern "C" { #define MSP430_HAS_DCOR 1 #define MSP430_HAS_EXTERNAL_CRYSTAL 1 -/* LEDs ports MSB430 */ +/** + * @brief LED definitions + * @{ + */ #define LEDS_PxDIR P5DIR #define LEDS_PxOUT P5OUT #define LEDS_CONF_RED 0x80 @@ -59,6 +62,10 @@ extern "C" { #define LED_RED_ON LEDS_PxOUT &=~LEDS_CONF_RED #define LED_RED_OFF LEDS_PxOUT |= LEDS_CONF_RED #define LED_RED_TOGGLE LEDS_PxOUT ^= LEDS_CONF_RED +#define LED_GREEN_ON /* not present */ +#define LED_GREEN_OFF /* not present */ +#define LED_GREEN_TOGGLE /* not present */ +/** @} */ #ifdef __cplusplus } -- GitLab