Fix for potential double interrupt on Teensy 4.1 PIT timers

This commit is contained in:
Josh Stewart 2024-07-09 12:31:31 +10:00
parent dd9881c62d
commit dd41d64dc6
1 changed files with 1 additions and 0 deletions

View File

@ -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)