diff --git a/src/TinyGsmCommon.h b/src/TinyGsmCommon.h index e82fa23..e5aaaaf 100644 --- a/src/TinyGsmCommon.h +++ b/src/TinyGsmCommon.h @@ -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(x))