Skip to content

Commit

Permalink
user lower priority interrupt for the interruptable interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
corwinkuiper committed May 25, 2024
1 parent 96b03eb commit 23e1179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agb/src/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ mod tests {
fn test_nested_interrupts(gba: &mut crate::Gba) {
let mut timers = gba.timers.timers();

let timer_a = &mut timers.timer2;
let timer_b = &mut timers.timer3;
let timer_a = &mut timers.timer3;
let timer_b = &mut timers.timer2;

timer_a.set_interrupt(true);
timer_a.set_overflow_amount(10000);
Expand Down

0 comments on commit 23e1179

Please sign in to comment.