summaryrefslogtreecommitdiff
path: root/firmware/test/kernel/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/test/kernel/timer.c')
-rw-r--r--firmware/test/kernel/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/test/kernel/timer.c b/firmware/test/kernel/timer.c
index 31c6f82baa..a0d180ab51 100644
--- a/firmware/test/kernel/timer.c
+++ b/firmware/test/kernel/timer.c
@@ -49,7 +49,7 @@ void tick_start(unsigned int interval_in_ms)
49 IPRC = (IPRC & ~0x00f0) | 0x0010; 49 IPRC = (IPRC & ~0x00f0) | 0x0010;
50 50
51 TSR0 &= ~0x01; 51 TSR0 &= ~0x01;
52 TIER0 |= 0x01; /* Enable GRA match interrupt */ 52 TIER0 = 0xf9; /* Enable GRA match interrupt */
53 53
54 TSTR |= 0x01; /* Start timer 1 */ 54 TSTR |= 0x01; /* Start timer 1 */
55} 55}
@@ -59,5 +59,6 @@ void IMIA0(void)
59{ 59{
60 current_tick++; 60 current_tick++;
61 61
62// debugf("t\n");
62 TSR0 &= ~0x01; 63 TSR0 &= ~0x01;
63} 64}