/* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen * 2015-18 Kaspar Schleiser * 2016 Laurent Navet * * 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_common_arduino-atmega * @{ * * @file * @brief Common led initialization for Arduino Atmega boards * * @author Hinnerk van Bruinehsen * @author Kaspar Schleiser * @author Laurent Navet * * @} */ #include "board.h" #include "cpu.h" #include "periph/gpio.h" void __attribute__((weak)) led_init(void) { /* initialize the on-board LED */ gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; }