From 285f4a39ba7923b16e699ea609c6236af430a8e5 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 2 Mar 2016 12:46:34 +0100 Subject: [PATCH] boards/chronos: added missing LED defines + cleanup --- boards/chronos/include/board.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/boards/chronos/include/board.h b/boards/chronos/include/board.h index e58ea63f1b..01cd0a8c0a 100644 --- a/boards/chronos/include/board.h +++ b/boards/chronos/include/board.h @@ -27,7 +27,7 @@ extern "C" { #endif -// for correct inclusion of +/* for correct inclusion of */ #ifndef __CC430F6137__ #define __CC430F6137__ #endif @@ -42,11 +42,28 @@ extern "C" { #define XTIMER_SHIFT_ON_COMPARE (4) /** @} */ +/** + * @brief MSP430 core configuration + * @{ + */ #define MSP430_INITIAL_CPU_SPEED 7372800uL #define F_CPU MSP430_INITIAL_CPU_SPEED #define F_RC_OSCILLATOR 32768 #define MSP430_HAS_DCOR 1 #define MSP430_HAS_EXTERNAL_CRYSTAL 1 +/** @} */ + +/** + * @brief LED defines for compatibility + * @{ + */ +#define LED_RED_ON /* not present */ +#define LED_RED_OFF /* not present */ +#define LED_RED_TOGGLE /* not present */ +#define LED_GREEN_ON /* not present */ +#define LED_GREEN_OFF /* not present */ +#define LED_GREEN_TOGGLE /* not present */ +/** @} */ #ifdef __cplusplus }