From 1569158b7842e3ad1bf14a9934150b2de7662ad8 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Sat, 9 Jun 2018 22:46:24 -0400 Subject: [PATCH] Set version back to 2.1.5 internally so we can merge --- examples/header_test/header_test.ino | 2 +- src/lmic/lmic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/header_test/header_test.ino b/examples/header_test/header_test.ino index 7e3b4208..e81cffa2 100644 --- a/examples/header_test/header_test.ino +++ b/examples/header_test/header_test.ino @@ -18,7 +18,7 @@ Author: # define STATIC_ASSERT(e) \ void STATIC_ASSERT__(int MCCIADK_C_ASSERT_x[(e) ? 1: -1]) -STATIC_ASSERT(ARDUINO_LMIC_VERSION >= ARDUINO_LMIC_VERSION_CALC(2,2,0,0)); +STATIC_ASSERT(ARDUINO_LMIC_VERSION >= ARDUINO_LMIC_VERSION_CALC(2,1,5,0)); STATIC_ASSERT(ARDUINO_LMIC_VERSION_CALC(1,2,3,4) == 0x01020304); diff --git a/src/lmic/lmic.h b/src/lmic/lmic.h index 17fd9fc0..d01a0530 100644 --- a/src/lmic/lmic.h +++ b/src/lmic/lmic.h @@ -102,7 +102,7 @@ extern "C"{ #define ARDUINO_LMIC_VERSION_CALC(major, minor, patch, local) \ (((major) << 24u) | ((minor) << 16u) | ((patch) << 8u) | (local)) -#define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(2, 2, 0, 0) +#define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(2, 1, 5, 0) #define ARDUINO_LMIC_VERSION_GET_MAJOR(v) \ (((v) >> 24u) & 0xFFu)