From 2a76514e3035f2ca0422e4458b56ecf5489a8cfe Mon Sep 17 00:00:00 2001 From: Francesco Zardi Date: Sun, 10 Nov 2019 11:59:51 +0100 Subject: [PATCH] Only redefine CFG_au915 if it is not defined already --- src/lmic/lmic_config_preconditions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmic/lmic_config_preconditions.h b/src/lmic/lmic_config_preconditions.h index 63e567cc..c3a96804 100644 --- a/src/lmic/lmic_config_preconditions.h +++ b/src/lmic/lmic_config_preconditions.h @@ -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