Add TINY_GSM_ATTR_*
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user