forked from things-nyc/arduino-lmic
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define CFG_au921 for backward compatibility
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|