mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
30 lines
581 B
C
30 lines
581 B
C
/*
|
|
* Copyright (C) 2019 Robert Olsson <roolss@kth.se>
|
|
*
|
|
* 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_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;
|
|
}
|