From 0c61517a6dcc8c0f7ae9f1ec56b2f1953d68d5f2 Mon Sep 17 00:00:00 2001 From: Corwin Date: Thu, 11 Apr 2024 02:45:07 +0100 Subject: [PATCH] idea I had while in bed, writing on my phone --- agb/src/interrupt.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agb/src/interrupt.rs b/agb/src/interrupt.rs index 15abe6006..093affdb1 100644 --- a/agb/src/interrupt.rs +++ b/agb/src/interrupt.rs @@ -420,6 +420,9 @@ mod tests { timer_b.set_interrupt(true); timer_b.set_overflow_amount(15000); + timer_b.set_enabled(false); + timer_a.set_enabled(false); + static TIMER: AtomicU32 = AtomicU32::new(0); let _interrupt_1 = unsafe {