summaryrefslogtreecommitdiff
path: root/firmware/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c2
1 files changed, 1 insertions, 1 deletions
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)
184 TIMER1_LOAD = TIMER1_BGLOAD = cycles; 184 TIMER1_LOAD = TIMER1_BGLOAD = cycles;
185 /* /!\ bit 4 (reserved) must not be modified 185 /* /!\ bit 4 (reserved) must not be modified
186 * periodic mode, interrupt enabled, no prescale, 32 bits counter */ 186 * periodic mode, interrupt enabled, no prescale, 32 bits counter */
187 TIMER1_CONTROL = (TIMER2_CONTROL & (1<<4)) | 187 TIMER1_CONTROL = (TIMER1_CONTROL & (1<<4)) |
188 TIMER_ENABLE | 188 TIMER_ENABLE |
189 TIMER_PERIODIC | 189 TIMER_PERIODIC |
190 TIMER_INT_ENABLE | 190 TIMER_INT_ENABLE |