summaryrefslogtreecommitdiffstats
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-05 17:34:49 +0000
committerDave Chapman <dave@dchapman.com>2006-02-05 17:34:49 +0000
commit987879b958f87a9af7ef9edcf6ae417fe56db788 (patch)
tree5de31eff771b81440b833f4b9d5b0a3b382afe0f /firmware/timer.c
parent465596b1639393ef320decced442537133ab09e8 (diff)
downloadrockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.gz
rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.bz2
rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.zip
Further iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/timer.c b/firmware/timer.c
index d4ce069637..7d9c288cdd 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -56,7 +56,7 @@ static bool timer_set(long cycles, bool start)
int phi = 0; /* bits for the prescaler */
int prescale = 1;
-#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
+#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
/* TODO: Implement for iPod and iFP */
(void)start;
(void)phi;
@@ -162,8 +162,8 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
if (reg_prio <= timer_prio || cycles == 0)
return false;
-#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
- /* TODO: Implement for iPod */
+#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
+ /* TODO: Implement for iPod and iFP */
(void)int_prio;
#endif