From 940d66477875868170a6d94823235c0acb5c88e3 Mon Sep 17 00:00:00 2001 From: Oliver Seiler Date: Thu, 21 Jan 2021 18:11:25 +1300 Subject: [PATCH] Fix compile error when using CFG_LMIC_US_like Lora configuration (AU915, US915) --- src/lorawan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index d83eaca7..504d1cf2 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -541,7 +541,7 @@ void SaveLMICToRTC(int deepsleep_sec) { unsigned long now = millis(); // EU Like Bands -#if defined(CFG_LMIC_EU_like) +#if CFG_LMIC_EU_like for (int i = 0; i < MAX_BANDS; i++) { ostime_t correctedAvail = RTC_LMIC.bands[i].avail -