mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/atmega_common: provide dummy implementation for led_init()
This commit is contained in:
parent
ad81a9df8a
commit
6617c5c768
@ -29,6 +29,13 @@
|
||||
|
||||
void led_init(void);
|
||||
|
||||
/*
|
||||
* Add an empty led_init() as fall back.
|
||||
* If at link time another implementation of led_init() not marked as weak
|
||||
* (a.k.a. a strong symbol) is present, it will be linked in instead.
|
||||
*/
|
||||
void __attribute__((weak)) led_init(void) {}
|
||||
|
||||
void board_init(void)
|
||||
{
|
||||
#ifdef CPU_ATMEGA32U4
|
||||
|
Loading…
Reference in New Issue
Block a user