Skip to content

Commit

Permalink
Silence AVR warnings on ARDUINO_LMIC_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Sep 9, 2019
1 parent f99a0d1 commit 76f7bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmic/lmic.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extern "C"{

// Arduino LMIC version
#define ARDUINO_LMIC_VERSION_CALC(major, minor, patch, local) \
(((major) << 24u) | ((minor) << 16u) | ((patch) << 8u) | (local))
(((major) << UINT32_C(24)) | ((minor) << UINT32_C(16)) | ((patch) << UINT32_C(8)) | ((local << UINT32_C(0))))

#define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(3, 0, 99, 1) /* v3.0.99.1 */

Expand Down

0 comments on commit 76f7bd5

Please sign in to comment.