summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x/timer-tcc780x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x/timer-tcc780x.c')
-rw-r--r--firmware/target/arm/tcc780x/timer-tcc780x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/tcc780x/timer-tcc780x.c b/firmware/target/arm/tcc780x/timer-tcc780x.c
index c724c4b3a8..44a4cc0395 100644
--- a/firmware/target/arm/tcc780x/timer-tcc780x.c
+++ b/firmware/target/arm/tcc780x/timer-tcc780x.c
@@ -52,7 +52,7 @@ void __timer_unregister(void)
extern void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
-void TIMER(void)
+void TIMER0(void)
{
if (TIREQ & TF0) /* Timer0 reached ref value */
{
@@ -77,6 +77,4 @@ void TIMER(void)
{
/* dispatch timer */
}
-
- CREQ |= TIMER_IRQ_MASK; /* clear IRQ */
}