summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x/timer-tcc780x.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-03-22 19:41:51 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-03-22 19:41:51 +0000
commit4dc2d8ddba2b1a4da44864b10de628bc45b8f653 (patch)
tree83339568f95ead3ddf22e2911faaba52bd276d65 /firmware/target/arm/tcc780x/timer-tcc780x.c
parentf061ba4ebbfcefb4613ea726104c1b3f9f1a528d (diff)
downloadrockbox-4dc2d8ddba2b1a4da44864b10de628bc45b8f653.tar.gz
rockbox-4dc2d8ddba2b1a4da44864b10de628bc45b8f653.tar.bz2
rockbox-4dc2d8ddba2b1a4da44864b10de628bc45b8f653.zip
Enable tick IRQs on TCC780x. The main menu is now working on the D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16749 a1c6a512-1295-4272-9138-f99709370657
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 */
}