diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-11 17:51:35 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-11 17:51:35 +0000 |
commit | d31a32c5012e4bc0eed9921e1783ed8f59d72e96 (patch) | |
tree | 70a69f4c928cf5576ccd51f4f52679363337936b /firmware/timer.c | |
parent | c2a0406e107cbab2bf30682fea4b6623f4c3da0c (diff) | |
download | rockbox-d31a32c5012e4bc0eed9921e1783ed8f59d72e96.tar.gz rockbox-d31a32c5012e4bc0eed9921e1783ed8f59d72e96.tar.bz2 rockbox-d31a32c5012e4bc0eed9921e1783ed8f59d72e96.zip |
iPod: Code cleanup - the bootloader now compiles with zero warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r-- | firmware/timer.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/firmware/timer.c b/firmware/timer.c index e5b5b68b11..cdbd928d67 100644 --- a/firmware/timer.c +++ b/firmware/timer.c @@ -55,7 +55,13 @@ static bool timer_set(long cycles, bool start) { int phi = 0; /* bits for the prescaler */ int prescale = 1; - + +#if CONFIG_CPU==PP5020 + /* TODO: Implement for iPod */ + (void)start; + (void)phi; +#endif + #ifdef CPU_COLDFIRE cycles >>= 1; /* the coldfire timer works on busclk == cpuclk/2 */ #endif @@ -156,6 +162,11 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void), if (reg_prio <= timer_prio || cycles == 0) return false; +#if CONFIG_CPU==PP5020 + /* TODO: Implement for iPod */ + (void)int_prio; +#endif + #if CONFIG_CPU == SH7034 if (int_prio < 1 || int_prio > 15) return false; |