Add TINY_GSM_ATTR_*

This commit is contained in:
Volodymyr Shymanskyy
2017-09-05 16:45:46 +03:00
parent 7213e25d35
commit 130e755f2d

View File

@@ -26,6 +26,9 @@
#define TINY_GSM_YIELD() { delay(0); } #define TINY_GSM_YIELD() { delay(0); }
#endif #endif
#define TINY_GSM_ATTR_NOT_AVAILABLE __attribute__((error("Not available on this modem type")))
#define TINY_GSM_ATTR_NOT_IMPLEMENTED __attribute__((error("Not implemented")))
#if defined(__AVR__) #if defined(__AVR__)
#define TINY_GSM_PROGMEM PROGMEM #define TINY_GSM_PROGMEM PROGMEM
typedef const __FlashStringHelper* GsmConstStr; typedef const __FlashStringHelper* GsmConstStr;