diff --git a/boards/yunjia-nrf51822/board.c b/boards/yunjia-nrf51822/board.c index 896165599..43c50241c 100644 --- a/boards/yunjia-nrf51822/board.c +++ b/boards/yunjia-nrf51822/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* setup led(s) for debugging */ - NRF_GPIO->DIRSET = (LED_RED_MASK); - /* initialize the CPU */ cpu_init(); } diff --git a/boards/yunjia-nrf51822/include/board.h b/boards/yunjia-nrf51822/include/board.h index f297531eb..4b5509d56 100644 --- a/boards/yunjia-nrf51822/include/board.h +++ b/boards/yunjia-nrf51822/include/board.h @@ -38,24 +38,6 @@ extern "C" { #define XTIMER_BACKOFF (40) /** @} */ -/** - * @name Macros for controlling the on-board LEDs. - * @{ - */ -#define LED_RED_PIN (GPIO_PIN(0, 8)) -#define LED_RED_MASK (1 << 8) - -#define LED_RED_ON (NRF_GPIO->OUTSET = LED_RED_MASK) -#define LED_RED_OFF (NRF_GPIO->OUTCLR = LED_RED_MASK) -#define LED_RED_TOGGLE (NRF_GPIO->OUT ^= LED_RED_MASK) -#define LED_GREEN_ON /* not available */ -#define LED_GREEN_OFF /* not available */ -#define LED_GREEN_TOGGLE /* not available */ -#define LED_BLUE_ON /* not available */ -#define LED_BLUE_OFF /* not available */ -#define LED_BLUE_TOGGLE /* not available */ -/* @} */ - /** * @brief Initialize board specific hardware, including clock, LEDs and std-IO */