From 52c46f2ec67ce76e9f4906e2cc263a7086a86608 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 13 Jun 2009 15:01:25 +0000 Subject: [PATCH] Fix bug in earlier commit of FS#10317: don't mix TIMER1 and TIMER2 settings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21273 a1c6a512-1295-4272-9138-f99709370657 --- firmware/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/timer.c b/firmware/timer.c index 85e50ae3ca..1cd913bb35 100644 --- a/firmware/timer.c +++ b/firmware/timer.c @@ -184,7 +184,7 @@ static bool timer_set(long cycles, bool start) TIMER1_LOAD = TIMER1_BGLOAD = cycles; /* /!\ bit 4 (reserved) must not be modified * periodic mode, interrupt enabled, no prescale, 32 bits counter */ - TIMER1_CONTROL = (TIMER2_CONTROL & (1<<4)) | + TIMER1_CONTROL = (TIMER1_CONTROL & (1<<4)) | TIMER_ENABLE | TIMER_PERIODIC | TIMER_INT_ENABLE |