Browse Source

disable memory optimizations on ATmega4809

dependabot/github_actions/actions/checkout-4
Markus Schmidleitner 4 years ago
parent
commit
23742b4b9c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmCommon.h

+ 1
- 1
src/TinyGsmCommon.h View File

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


Loading…
Cancel
Save