Skip to content

Commit

Permalink
Define CFG_au921 for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
frazar committed Nov 10, 2019
1 parent 2a76514 commit 68d8aff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lmic/lmic_config_preconditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ Revision history:
# define CFG_au915
#endif

// for backwards compatibility to legacy code, define CFG_au921 if we see CFG_au915.
#if defined(CFG_au915) && !defined(CFG_au921)
# define CFG_au921
#endif

// a mask of the supported regions
// TODO([email protected]) consider moving this block to a central file as it's not
// user-editable.
Expand Down

0 comments on commit 68d8aff

Please sign in to comment.