Skip to content

Commit

Permalink
Fix #98: check LMIC version in header file
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Apr 13, 2019
1 parent b915622 commit efa39f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Arduino_LoRaWAN_lmic.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Copyright notice:

#include <lmic.h>

#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:
Expand Down

0 comments on commit efa39f9

Please sign in to comment.