1
0
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:
Benjamin Valentin 2022-02-18 00:14:14 +01:00
parent 301e955418
commit d6035fe247

View File

@ -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)
{
}