Fix for potential double interrupt on Teensy 4.1 PIT timers
This commit is contained in:
parent
dd9881c62d
commit
dd41d64dc6
|
@ -224,6 +224,7 @@ void PIT_isr()
|
|||
else if(interrupt2) { PIT_TFLG1 = 1; boostInterrupt(); }
|
||||
else if(interrupt3) { PIT_TFLG2 = 1; vvtInterrupt(); }
|
||||
else if(interrupt4) { PIT_TFLG3 = 1; oneMSInterval(); }
|
||||
asm volatile ("dsb") ;
|
||||
}
|
||||
|
||||
void TMR1_isr(void)
|
||||
|
|
Loading…
Reference in New Issue