Skip to content

Commit

Permalink
Merge pull request #12745 from benpicco/atmega-led_fix
Browse files Browse the repository at this point in the history
boards/atmega_common: remove weak led_init()
  • Loading branch information
benpicco authored Nov 19, 2019
2 parents cfcbb76 + c277100 commit 1999e2f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions boards/common/atmega/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1999e2f

Please sign in to comment.