From df8083dba67838959d9f02368e10d235b56fc93b Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 29 Dec 2020 14:25:59 +0100 Subject: [PATCH] switch off DIO IRQs (MCCI LMIC PR #556) --- src/lmic_config.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lmic_config.h b/src/lmic_config.h index 992e4a18..d5dcfdbe 100644 --- a/src/lmic_config.h +++ b/src/lmic_config.h @@ -18,9 +18,10 @@ // use interrupts only if LORA_IRQ and LORA_DIO are connected to interrupt // capable and separate GPIO pins on your board, if not don't enable -#if (LORA_IRQ) != (LORA_IO1) -#define LMIC_USE_INTERRUPTS 1 -#endif +// note: this feature can't be used on ESP32 unless PR #556 of MCCI LMIC was merged +//#if (LORA_IRQ) != (LORA_IO1) +//#define LMIC_USE_INTERRUPTS 1 +//#endif // avoid lmic warning if we don't configure radio in case we haven't one #if !(defined(CFG_sx1272_radio) || defined(CFG_sx1276_radio))