Skip to content

Commit

Permalink
Fix missing weak attribute for 32-pin parts
Browse files Browse the repository at this point in the history
Closes #70
  • Loading branch information
MCUdude committed Apr 27, 2020
1 parent 7e1a09f commit 20ddca1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megaavr/variants/32pin-standard/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ const uint8_t digital_pin_to_timer[] = {

#endif

void initVariant() {}
void initVariant() __attribute__((weak));
void initVariant() { }

#endif

0 comments on commit 20ddca1

Please sign in to comment.