mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/remote-*: drop custom led_init()
A custom rainbow boot-up animation/delay gets old pretty quick and we didn't actually init the LEDs anyway, so it would not be shown. Drop the custom led_init() so the generic led_init() kicks in and properly initializes the LEDs.
This commit is contained in:
parent
743ae3f095
commit
66707ad367
@ -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 <anon.mall@gt-arc.com>
|
||||
*
|
||||
* @}
|
||||
*/
|
||||
|
||||
#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();
|
||||
}
|
@ -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();
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user