diff options
Diffstat (limited to 'firmware/timer.c')
-rw-r--r-- | firmware/timer.c | 2 |
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) 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 | |