fix irqhandler without lora
This commit is contained in:
parent
a68381f7e6
commit
b5e0949408
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user