Merge pull request #459 from fishingbit/master
disable memory optimizations on ATmega4809
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
__attribute__((error("Not available on this modem type")))
|
__attribute__((error("Not available on this modem type")))
|
||||||
#define TINY_GSM_ATTR_NOT_IMPLEMENTED __attribute__((error("Not implemented")))
|
#define TINY_GSM_ATTR_NOT_IMPLEMENTED __attribute__((error("Not implemented")))
|
||||||
|
|
||||||
#if defined(__AVR__)
|
#if defined(__AVR__) && !defined(__AVR_ATmega4809__)
|
||||||
#define TINY_GSM_PROGMEM PROGMEM
|
#define TINY_GSM_PROGMEM PROGMEM
|
||||||
typedef const __FlashStringHelper* GsmConstStr;
|
typedef const __FlashStringHelper* GsmConstStr;
|
||||||
#define GFP(x) (reinterpret_cast<GsmConstStr>(x))
|
#define GFP(x) (reinterpret_cast<GsmConstStr>(x))
|
||||||
|
Reference in New Issue
Block a user