From cc4f3286911c6ecae0cd0b91265367af9c4eb8c2 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Sat, 28 Dec 2019 16:00:54 +0200 Subject: [PATCH] timers: Fix wrong irq number Timers were triggering DMA interrupts, wonder why.. >< Former-commit-id: 4fd2781a4bf71d0c0ebc1badae003d76a781ee75 --- src/core/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/timer.rs b/src/core/timer.rs index 6a2a0fc..a1d0b4c 100644 --- a/src/core/timer.rs +++ b/src/core/timer.rs @@ -25,7 +25,7 @@ impl Timer { } Timer { timer_id: timer_id, - irq: Interrupt::from_usize(timer_id + 8).unwrap(), + irq: Interrupt::from_usize(timer_id + 3).unwrap(), data: 0, ctl: TimerCtl(0), initial_data: 0,