diff --git a/src/Arduino_LoRaWAN_lmic.h b/src/Arduino_LoRaWAN_lmic.h index e4ad584..761f1b7 100644 --- a/src/Arduino_LoRaWAN_lmic.h +++ b/src/Arduino_LoRaWAN_lmic.h @@ -24,6 +24,10 @@ Copyright notice: #include +#if ! (defined(ARDUINO_LMIC_VERSION) && ARDUINO_LMIC_VERSION >= ARDUINO_LMIC_VERSION_CALC(2,3,2,50)) +# error lmic library is out of date. Check ARDUINO_LMIC_VERSION. +#endif + class Arduino_LoRaWAN::cLMIC { public: