1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

boards/airfy-becon: unified LED defines

This commit is contained in:
Hauke Petersen 2016-03-11 17:57:04 +01:00
parent 663be83b2a
commit 8eeac35b51
2 changed files with 0 additions and 21 deletions

View File

@ -23,9 +23,6 @@
void board_init(void)
{
/* setup led(s) for debugging */
NRF_GPIO->DIRSET = LED_RED_MASK;
/* initialize the CPU */
cpu_init();
}

View File

@ -38,24 +38,6 @@
#define XTIMER_BACKOFF (40)
/** @} */
/**
* @name Macros for controlling the on-board LEDs.
* @{
*/
#define LED_RED_PIN (GPIO_PIN(0, 16))
#define LED_RED_MASK (1 << 16)
#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
*/