switch off DIO IRQs (MCCI LMIC PR #556)
This commit is contained in:
parent
d23bc3535e
commit
df8083dba6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user