fix irqhandler without lora

This commit is contained in:
Verkehrsrot 2019-10-20 21:11:59 +02:00
parent a68381f7e6
commit b5e0949408

View File

@ -22,7 +22,11 @@ void irqHandler(void *pvParameters) {
mask_irq = false; mask_irq = false;
// else if (mask_irq) // suppress processing if interrupt handler is // else if (mask_irq) // suppress processing if interrupt handler is
// disabled // disabled
#if (HAS_LORA)
else if (mask_irq || os_queryTimeCriticalJobs(ms2osticks(100))) else if (mask_irq || os_queryTimeCriticalJobs(ms2osticks(100)))
#else
else if (mask_irq)
#endif
// suppress processing if interrupt handler is disabled // suppress processing if interrupt handler is disabled
// or time critical lmic jobs are pending in next 100ms // or time critical lmic jobs are pending in next 100ms
continue; continue;