irqhandler.cpp code sanitization
This commit is contained in:
parent
fac48ed9c4
commit
985548e73e
@ -21,12 +21,11 @@ void irqHandler(void *pvParameters) {
|
|||||||
InterruptStatus &= ~MASK_IRQ; // then clear irq mask flag
|
InterruptStatus &= ~MASK_IRQ; // then clear irq mask flag
|
||||||
// else suppress processing if interrupt handler is disabled
|
// else 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
|
||||||
#if (HAS_LORA)
|
|
||||||
else if ((InterruptStatus & MASK_IRQ) ||
|
|
||||||
os_queryTimeCriticalJobs(ms2osticks(100)))
|
|
||||||
#else
|
|
||||||
else if ((InterruptStatus & MASK_IRQ)
|
else if ((InterruptStatus & MASK_IRQ)
|
||||||
|
#if (HAS_LORA)
|
||||||
|
|| os_queryTimeCriticalJobs(ms2osticks(100))
|
||||||
#endif
|
#endif
|
||||||
|
)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// button pressed?
|
// button pressed?
|
||||||
|
Loading…
Reference in New Issue
Block a user