diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/timer-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/timer-dm320.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/timer-dm320.c b/firmware/target/arm/tms320dm320/timer-dm320.c index 52b433fac5..6e785ffbf1 100644 --- a/firmware/target/arm/tms320dm320/timer-dm320.c +++ b/firmware/target/arm/tms320dm320/timer-dm320.c | |||
@@ -27,9 +27,9 @@ | |||
27 | should not be a functional pin and TIMER0 output unseen there */ | 27 | should not be a functional pin and TIMER0 output unseen there */ |
28 | void TIMER0(void) | 28 | void TIMER0(void) |
29 | { | 29 | { |
30 | IO_INTC_IRQ0 = INTR_IRQ0_TMR0; /* clear TIMER0 interrupt */ | ||
30 | if (pfn_timer != NULL) | 31 | if (pfn_timer != NULL) |
31 | pfn_timer(); | 32 | pfn_timer(); |
32 | IO_INTC_IRQ0 = INTR_IRQ0_TMR0; //clear TIMER0 interrupt | ||
33 | } | 33 | } |
34 | 34 | ||
35 | bool __timer_set(long cycles, bool start) | 35 | bool __timer_set(long cycles, bool start) |