summaryrefslogtreecommitdiffstats
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2007-09-22 23:37:58 +0000
committerTomasz Malesinski <tomal@rockbox.org>2007-09-22 23:37:58 +0000
commit4fc77ac3ff8a4105b8e92a7f3d88b65b3bcea1cd (patch)
tree26583d60ee44505ac5a031dbd9beb36b5d19b467 /firmware/timer.c
parented83edfd7bb918927213ebff79bea87c0ffb0408 (diff)
downloadrockbox-4fc77ac3ff8a4105b8e92a7f3d88b65b3bcea1cd.tar.gz
rockbox-4fc77ac3ff8a4105b8e92a7f3d88b65b3bcea1cd.tar.bz2
rockbox-4fc77ac3ff8a4105b8e92a7f3d88b65b3bcea1cd.zip
Fix empty commit: Add grayscale support for ARM in vertical packing format.
Enable grayscale for Iriver ifp. Fix timer_unregister for PNX0101. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14825 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/timer.c b/firmware/timer.c
index c08e8348d9..d15ba64443 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -303,7 +303,7 @@ void timer_unregister(void)
CPU_INT_CLR = TIMER2_MASK;
#elif CONFIG_CPU == PNX0101
TIMER1.ctrl &= ~0x80; /* disable timer 1 */
- irq_disable_int(5);
+ irq_disable_int(IRQ_TIMER1);
#elif CONFIG_CPU == S3C2440
__TIMER_UNREGISTER();
#endif