diff --git a/boards/firefly/board.c b/boards/firefly/board.c deleted file mode 100644 index 79bceb2301..0000000000 --- a/boards/firefly/board.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2017 DAI Labor Technische Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. - */ - -/** - * @ingroup boards_firefly - * @{ - * - * @file - * @brief Board specific implementations for the Firefly board - * - * @author Anon Mall - * - * @} - */ - -#include "board.h" -#include "cpu.h" -#include "fancy_leds.h" - -/** - * @brief Initialize the boards on-board LEDs - * - * The LED initialization is hard-coded in this function. As the LED (RGB) are - * soldered onto the board they are fixed to their CPU pins. - */ -void led_init(void) -{ - /* Shoot rainbows */ - LED_RAINBOW(); -} diff --git a/boards/remote-pa/board.c b/boards/remote-pa/board.c index a6db0ee14c..914f156c83 100644 --- a/boards/remote-pa/board.c +++ b/boards/remote-pa/board.c @@ -22,20 +22,6 @@ #include "board.h" #include "cpu.h" -#include "fancy_leds.h" - -static inline void rf_switch_init(void); - -void board_init(void) -{ - - - /* initialize the 2.4GHz RF switch */ - rf_switch_init(); - - /* Shoot rainbows */ - LED_RAINBOW(); -} /** * @brief Initialize the 2.4GHz Radio Frequency SW-controlled Switch @@ -51,3 +37,9 @@ static void rf_switch_init(void) gpio_init(RF_SWITCH_GPIO, GPIO_OUT); RF_SWITCH_2_4_GHZ; } + +void board_init(void) +{ + /* initialize the 2.4GHz RF switch */ + rf_switch_init(); +} diff --git a/boards/remote-reva/board.c b/boards/remote-reva/board.c index d14a7a4448..66876dd2c2 100644 --- a/boards/remote-reva/board.c +++ b/boards/remote-reva/board.c @@ -22,19 +22,6 @@ #include "board.h" #include "cpu.h" -#include "fancy_leds.h" - -/** - * @brief Initialize the boards on-board LEDs - * - * The LED initialization is hard-coded in this function. As the LED (RGB) are - * soldered onto the board they are fixed to their CPU pins. - */ -void led_init(void) -{ - /* Shoot rainbows */ - LED_RAINBOW(); -} /** * @brief Initialize the Radio interface SW-controlled Switch diff --git a/boards/remote-revb/board.c b/boards/remote-revb/board.c index 608ad45fac..709718f981 100644 --- a/boards/remote-revb/board.c +++ b/boards/remote-revb/board.c @@ -22,20 +22,6 @@ #include "board.h" #include "cpu.h" -#include "fancy_leds.h" - -/** - * @brief Initialize the boards on-board LEDs - * - * The LED initialization is hard-coded in this function. As the LED (RGB) are - * soldered onto the board they are fixed to their CPU pins. - */ -void led_init(void) -{ - - /* Shoot rainbows */ - LED_RAINBOW(); -} /** * @brief Initialize the Radio interface SW-controlled Switch