From b05c264363cf43edcbf303a5639527ce3cc2255b Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 23 Mar 2020 20:23:37 +0100 Subject: [PATCH] Fixed typo in version macro --- src/TypeDef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TypeDef.h b/src/TypeDef.h index d149ca1b..adc3b1eb 100644 --- a/src/TypeDef.h +++ b/src/TypeDef.h @@ -13,7 +13,7 @@ #define RADIOLIB_VERSION_PATCH (0x00) #define RADIOLIB_VERSION_EXTRA (0x00) -#define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MAJOR << 16) | (RADIOLIB_VERSION_MAJOR << 8) | (RADIOLIB_VERSION_EXTRA)) +#define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MINOR << 16) | (RADIOLIB_VERSION_PATCH << 8) | (RADIOLIB_VERSION_EXTRA)) /* * Uncomment to enable static-only memory management: no dynamic allocation will be performed.