Skip to content

Commit

Permalink
Add DSB before return from interrupts from attachInterrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Jan 16, 2024
1 parent 5bccb1b commit 682e444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions teensy4/interrupt.c
Expand Up @@ -50,6 +50,7 @@ void irq_gpio6789(void)
irq_anyport(&GPIO7_DR, isr_table_gpio2);
irq_anyport(&GPIO8_DR, isr_table_gpio3);
irq_anyport(&GPIO9_DR, isr_table_gpio4);
asm volatile ("dsb":::"memory");
}

#endif
Expand Down

0 comments on commit 682e444

Please sign in to comment.