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.
If CFG_au921 is set, set CFG_au915 and warn the user about deprecation
- Loading branch information
Showing
2 changed files
with
8 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
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 |
---|---|---|
|
@@ -92,6 +92,11 @@ Revision history: | |
# include CFG_TEXT_1(ARDUINO_LMIC_PROJECT_CONFIG_H) | ||
#endif /* ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS */ | ||
|
||
#ifdef CFG_au921 | ||
# warning "CFG_au921 was deprecated in favour of CFG_au915. Support for CFG_au921 might be removed in the future." | ||
# define CFG_au915 | ||
#endif | ||
|
||
// a mask of the supported regions | ||
// TODO([email protected]) consider moving this block to a central file as it's not | ||
// user-editable. | ||
|