Skip to content

Commit

Permalink
Merge pull request #2010 from dewhisna/MiniCore_ATmega328PB_Fix
Browse files Browse the repository at this point in the history
Fix ATmega328PB build with AVR MiniCore (such as PlatformIO uses)
  • Loading branch information
olikraus authored Nov 15, 2022
2 parents ea09275 + 8d87c0c commit d23f354
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cppsrc/U8x8lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
# include <i2c_t3.h>
# else
# include <Wire.h>
# ifdef U8X8_HAVE_2ND_HW_I2C
# if defined(MINICORE) && defined(__AVR_ATmega328PB__)
# include <Wire1.h>
# endif
# endif
# endif
#endif /* U8X8_HAVE_HW_I2C */

Expand Down

0 comments on commit d23f354

Please sign in to comment.