mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
66707ad367
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.
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
* Copyright (C) 2015 Zolertia SL
|
|
*
|
|
* 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_remote-revb
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Board specific implementations for the RE-Mote revision B board
|
|
*
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
* Antonio Lignan <alinan@zolertia.com>
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#include "board.h"
|
|
#include "cpu.h"
|
|
|
|
/**
|
|
* @brief Initialize the Radio interface SW-controlled Switch
|
|
*
|
|
* The RE-Mote features an on-board RF switch to programmatically select to
|
|
* enable either the 2.4GHz or Sub-1GHz RF interface to the RP-SMA connector
|
|
* to use an external antenna. As default we prefer to use the 2.4GHz RF.
|
|
*
|
|
*/
|
|
static void rf_switch_init(void)
|
|
{
|
|
/* Set RF 2.4GHz as default */
|
|
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();
|
|
}
|