summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x/kernel-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/kernel-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/kernel-tcc780x.c')
-rw-r--r--firmware/target/arm/tcc780x/kernel-tcc780x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/tcc780x/kernel-tcc780x.c b/firmware/target/arm/tcc780x/kernel-tcc780x.c
index e0d9c3342e..333823eef9 100644
--- a/firmware/target/arm/tcc780x/kernel-tcc780x.c
+++ b/firmware/target/arm/tcc780x/kernel-tcc780x.c
@@ -36,8 +36,8 @@ void tick_start(unsigned int interval_in_ms)
TCFG0 = (1<<8) | (0<<4) | (1<<3) | 1;
/* Unmask timer IRQ */
- MIRQ &= ~TIMER_IRQ_MASK;
+ IEN |= TIMER0_IRQ_MASK;
}
-/* NB: Since the 7801 has a single timer IRQ, the tick tasks are dispatched
- as part of the central timer IRQ processing in timer-tcc780x.c */
+/* NB: Since we are using a single timer IRQ, tick tasks are dispatched as
+ part of the central timer IRQ processing in timer-tcc780x.c */