summaryrefslogtreecommitdiff
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-02-03 23:14:42 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-02-03 23:14:42 +0000
commitc31d2f84b73b7f08f949cebcff0e5f4d1babd529 (patch)
treea93d2b11e185f8bdc587c4ef1e80b8ed68f47f77 /firmware/timer.c
parent3c17330af669c6c19b4b3b1fdcfc987e386679ce (diff)
downloadrockbox-c31d2f84b73b7f08f949cebcff0e5f4d1babd529.tar.gz
rockbox-c31d2f84b73b7f08f949cebcff0e5f4d1babd529.zip
Fixed warnings on iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 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 cdbd928d67..d4ce069637 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -56,8 +56,8 @@ static bool timer_set(long cycles, bool start)
56 int phi = 0; /* bits for the prescaler */ 56 int phi = 0; /* bits for the prescaler */
57 int prescale = 1; 57 int prescale = 1;
58 58
59#if CONFIG_CPU==PP5020 59#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
60 /* TODO: Implement for iPod */ 60 /* TODO: Implement for iPod and iFP */
61 (void)start; 61 (void)start;
62 (void)phi; 62 (void)phi;
63#endif 63#endif
@@ -162,7 +162,7 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
162 if (reg_prio <= timer_prio || cycles == 0) 162 if (reg_prio <= timer_prio || cycles == 0)
163 return false; 163 return false;
164 164
165#if CONFIG_CPU==PP5020 165#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101)
166 /* TODO: Implement for iPod */ 166 /* TODO: Implement for iPod */
167 (void)int_prio; 167 (void)int_prio;
168#endif 168#endif