Merge pull request #459 from fishingbit/master

disable memory optimizations on ATmega4809
This commit is contained in:
Sara Damiano
2020-11-09 11:12:55 -05:00
committed by GitHub

View File

@@ -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))