From 4dc2d8ddba2b1a4da44864b10de628bc45b8f653 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Sat, 22 Mar 2008 19:41:51 +0000 Subject: 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 --- firmware/target/arm/tcc780x/kernel-tcc780x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/target/arm/tcc780x/kernel-tcc780x.c') 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 */ -- cgit