Skip to content

Commit 68d8aff

Browse files
committed
Define CFG_au921 for backward compatibility
1 parent 2a76514 commit 68d8aff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lmic/lmic_config_preconditions.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ Revision history:
9797
# define CFG_au915
9898
#endif
9999

100+
// for backwards compatibility to legacy code, define CFG_au921 if we see CFG_au915.
101+
#if defined(CFG_au915) && !defined(CFG_au921)
102+
# define CFG_au921
103+
#endif
104+
100105
// a mask of the supported regions
101106
// TODO(tmm@mcci.com) consider moving this block to a central file as it's not
102107
// user-editable.

0 commit comments

Comments
 (0)