diff --git a/TinyLoRa.h b/TinyLoRa.h index a8e4102..0a1d73d 100644 --- a/TinyLoRa.h +++ b/TinyLoRa.h @@ -37,7 +37,11 @@ #define TINY_LORA_H #include -#include +#if defined(ARDUINO_ARCH_AVR) + #include +#elif defined(ARDUINO_ARCH_ESP32) + #include +#endif // uncomment for debug output // #define DEBUG diff --git a/library.properties b/library.properties index 0406c3b..ef97bae 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TinyLoRa -version=1.2.0 +version=1.2.1 author=Adafruit maintainer=Adafruit sentence=Tiny LoRa Library for TTN