Skip to content

Commit

Permalink
disable memory optimizations on ATmega4809
Browse files Browse the repository at this point in the history
  • Loading branch information
fishingbit committed Nov 6, 2020
1 parent 1576ecd commit 23742b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyGsmCommon.h
Expand Up @@ -41,7 +41,7 @@
__attribute__((error("Not available on this modem type")))
#define TINY_GSM_ATTR_NOT_IMPLEMENTED __attribute__((error("Not implemented")))

#if defined(__AVR__)
#if defined(__AVR__) && !defined(__AVR_ATmega4809__)
#define TINY_GSM_PROGMEM PROGMEM
typedef const __FlashStringHelper* GsmConstStr;
#define GFP(x) (reinterpret_cast<GsmConstStr>(x))
Expand Down

0 comments on commit 23742b4

Please sign in to comment.