irqhandler.cpp comment sanitization
This commit is contained in:
parent
ba6fa5ee98
commit
e01c62e877
@ -20,16 +20,16 @@ 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
|
||||
|
||||
// suppress processing if interrupt handler is disabled
|
||||
// or time critical lmic jobs are pending in next 100ms
|
||||
#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;
|
||||
|
||||
else if (InterruptStatus & MASK_IRQ) { // interrupt handler to be disabled?
|
||||
mask_irq = true;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user