disable memory optimizations on ATmega4809

This commit is contained in:
Markus Schmidleitner
2020-11-06 15:17:34 +01:00
parent 1576ecd18e
commit 23742b4b9c

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