Skip to content

Commit

Permalink
Only redefine CFG_au915 if it is not defined already
Browse files Browse the repository at this point in the history
  • Loading branch information
frazar committed Nov 10, 2019
1 parent 0e5fe3d commit 2a76514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmic/lmic_config_preconditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Revision history:
# include CFG_TEXT_1(ARDUINO_LMIC_PROJECT_CONFIG_H)
#endif /* ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS */

#ifdef CFG_au921
#if defined(CFG_au921) && !defined(CFG_au915)
# warning "CFG_au921 was deprecated in favour of CFG_au915. Support for CFG_au921 might be removed in the future."
# define CFG_au915
#endif
Expand Down

0 comments on commit 2a76514

Please sign in to comment.