From 130e755f2deca51cb29ba137faff5f9f7ac3eae3 Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Tue, 5 Sep 2017 16:45:46 +0300 Subject: [PATCH] Add TINY_GSM_ATTR_* --- TinyGsmCommon.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TinyGsmCommon.h b/TinyGsmCommon.h index 8946ee0..60a5e48 100644 --- a/TinyGsmCommon.h +++ b/TinyGsmCommon.h @@ -26,6 +26,9 @@ #define TINY_GSM_YIELD() { delay(0); } #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__) #define TINY_GSM_PROGMEM PROGMEM typedef const __FlashStringHelper* GsmConstStr;