mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nrf6310: provide custom led_init()
This commit is contained in:
parent
301e955418
commit
d6035fe247
@ -23,9 +23,13 @@
|
||||
#include "board.h"
|
||||
#include "cpu.h"
|
||||
|
||||
void board_init(void)
|
||||
void led_init(void)
|
||||
{
|
||||
/* initialize and turn off on-board LEDs */
|
||||
NRF_GPIO->DIRSET = (LED0_MASK | LED1_MASK | LED2_MASK);
|
||||
NRF_GPIO->OUTSET = (LED0_MASK | LED1_MASK | LED2_MASK);
|
||||
NRF_GPIO->DIRSET = LED0_MASK | LED1_MASK | LED2_MASK;
|
||||
NRF_GPIO->OUTSET = LED0_MASK | LED1_MASK | LED2_MASK;
|
||||
}
|
||||
|
||||
void board_init(void)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user