fix irqhandler without lora

This commit is contained in:
Verkehrsrot committed 2019-10-20 21:11:59 +02:00
1 parent a68381f7e6
commit b5e0949408
1 file changed
+6 -2
+6 -2
View File
@@ -20,9 +20,13 @@ void irqHandler(void *pvParameters) {
if (InterruptStatus & UNMASK_IRQ) // interrupt handler to be enabled?
mask_irq = false;
// else if (mask_irq) // suppress processing if interrupt handler is
// disabled
// else if (mask_irq) // suppress processing if interrupt handler is
// disabled
#if (HAS_LORA)
else if (mask_irq || os_queryTimeCriticalJobs(ms2osticks(100)))
#else
else if (mask_irq)
#endif
// suppress processing if interrupt handler is disabled
// or time critical lmic jobs are pending in next 100ms
continue;