Skip to content

Commit e9fbc47

Browse files
committed
fix Actions build with previous version of RadioLib
1 parent 30cddfa commit e9fbc47

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

software/firmware/source/SoftRF/src/platform/nRF52.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ struct rst_info {
323323
//#define EXCLUDE_LR11XX
324324
#if defined(USE_RADIOLIB)
325325
#include <BuildOpt.h>
326-
#if RADIOLIB_VERSION_MAJOR < 7 && RADIOLIB_VERSION_MINOR < 6
326+
#if RADIOLIB_VERSION_MAJOR <= 7 && RADIOLIB_VERSION_MINOR < 6
327327
#define EXCLUDE_LR20XX
328328
#endif /* RADIOLIB_VERSION */
329329
#endif /* USE_RADIOLIB */

software/firmware/source/SoftRF/src/platform/nRF54.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct rst_info {
152152
//#define EXCLUDE_LR11XX
153153
#if defined(USE_RADIOLIB)
154154
#include <BuildOpt.h>
155-
#if RADIOLIB_VERSION_MAJOR < 7 && RADIOLIB_VERSION_MINOR < 6
155+
#if RADIOLIB_VERSION_MAJOR <= 7 && RADIOLIB_VERSION_MINOR < 6
156156
#define EXCLUDE_LR20XX
157157
#endif /* RADIOLIB_VERSION */
158158
#endif /* USE_RADIOLIB */

0 commit comments

Comments
 (0)