Merge pull request #12745 from benpicco/atmega-led_fix

boards/atmega_common: remove weak led_init()
This commit is contained in:
benpicco 2019-11-20 00:14:48 +01:00 committed by GitHub
commit 1999e2f89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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