irqhandler.cpp comment sanitization

This commit is contained in:
Verkehrsrot 2019-10-24 19:15:23 +02:00
parent ba6fa5ee98
commit e01c62e877

View File

@ -20,16 +20,16 @@ void irqHandler(void *pvParameters) {
if (InterruptStatus & UNMASK_IRQ) // interrupt handler to be enabled? if (InterruptStatus & UNMASK_IRQ) // interrupt handler to be enabled?
mask_irq = false; 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) #if (HAS_LORA)
else if (mask_irq || os_queryTimeCriticalJobs(ms2osticks(100))) else if (mask_irq || os_queryTimeCriticalJobs(ms2osticks(100)))
#else #else
else if (mask_irq) else if (mask_irq)
#endif #endif
// suppress processing if interrupt handler is disabled
// or time critical lmic jobs are pending in next 100ms
continue; continue;
else if (InterruptStatus & MASK_IRQ) { // interrupt handler to be disabled? else if (InterruptStatus & MASK_IRQ) { // interrupt handler to be disabled?
mask_irq = true; mask_irq = true;
continue; continue;