switch off DIO IRQs (MCCI LMIC PR #556)

This commit is contained in:
cyberman54 2020-12-29 14:25:59 +01:00
parent d23bc3535e
commit df8083dba6

View File

@ -18,9 +18,10 @@
// use interrupts only if LORA_IRQ and LORA_DIO are connected to interrupt // 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 // capable and separate GPIO pins on your board, if not don't enable
#if (LORA_IRQ) != (LORA_IO1) // note: this feature can't be used on ESP32 unless PR #556 of MCCI LMIC was merged
#define LMIC_USE_INTERRUPTS 1 //#if (LORA_IRQ) != (LORA_IO1)
#endif //#define LMIC_USE_INTERRUPTS 1
//#endif
// avoid lmic warning if we don't configure radio in case we haven't one // avoid lmic warning if we don't configure radio in case we haven't one
#if !(defined(CFG_sx1272_radio) || defined(CFG_sx1276_radio)) #if !(defined(CFG_sx1272_radio) || defined(CFG_sx1276_radio))