Merge pull request #12745 from benpicco/atmega-led_fix
boards/atmega_common: remove weak led_init()
This commit is contained in:
commit
1999e2f89c
@ -29,13 +29,6 @@
|
||||
|
||||
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…
x
Reference in New Issue
Block a user