1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +01:00
RIOT/boards/avr-rss2/led_init.c

27 lines
459 B
C

/*
* SPDX-FileCopyrightText: 2019 Robert Olsson <roolss@kth.se>
* SPDX-License-Identifier: LGPL-2.1-only
*/
/**
* @ingroup boards_avr-rss2
* @{
*
* @file
* @brief Board specific LED initialization
* @author Robert Olsson <roolss@kth.se>
*
*
* @}
*/
#include "board.h"
void led_init(void)
{
/* Ports Pins as Output */
LED_PORT_DDR |= LED1_MASK | LED0_MASK;
/* All LEDs OFF */
LED_PORT |= LED1_MASK | LED0_MASK;
}