Skip to content

Commit d9a5139

Browse files
authored
Merge pull request #19 from sparkfun/fix_megaavr
Fix MegaAVR boards
2 parents db56283 + 8cadc97 commit d9a5139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Alphanumeric_Display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Distributed as-is; no warranty is given.
3636

3737
//This is the lookup table of segments for various characters
3838
//For AVR architecture, use PROGMEM
39-
#if defined(ARDUINO_ARCH_AVR)
39+
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
4040
#include <avr/pgmspace.h>
4141
static const uint16_t PROGMEM alphanumeric_segs[96]{
4242
#else

0 commit comments

Comments
 (0)