Fix compile error when using CFG_LMIC_US_like Lora configuration (AU915, US915)

This commit is contained in:
Oliver Seiler 2021-01-21 18:11:25 +13:00
parent e12716c146
commit 940d664778

View File

@ -541,7 +541,7 @@ void SaveLMICToRTC(int deepsleep_sec) {
unsigned long now = millis(); unsigned long now = millis();
// EU Like Bands // EU Like Bands
#if defined(CFG_LMIC_EU_like) #if CFG_LMIC_EU_like
for (int i = 0; i < MAX_BANDS; i++) { for (int i = 0; i < MAX_BANDS; i++) {
ostime_t correctedAvail = ostime_t correctedAvail =
RTC_LMIC.bands[i].avail - RTC_LMIC.bands[i].avail -