diff options
author | Tomasz Malesinski <tomal@rockbox.org> | 2006-02-03 23:14:42 +0000 |
---|---|---|
committer | Tomasz Malesinski <tomal@rockbox.org> | 2006-02-03 23:14:42 +0000 |
commit | c31d2f84b73b7f08f949cebcff0e5f4d1babd529 (patch) | |
tree | a93d2b11e185f8bdc587c4ef1e80b8ed68f47f77 /firmware/timer.c | |
parent | 3c17330af669c6c19b4b3b1fdcfc987e386679ce (diff) |
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.c | 6 |
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) int phi = 0; /* bits for the prescaler */ int prescale = 1; -#if CONFIG_CPU==PP5020 - /* TODO: Implement for iPod */ +#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) + /* TODO: Implement for iPod and iFP */ (void)start; (void)phi; #endif @@ -162,7 +162,7 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void), if (reg_prio <= timer_prio || cycles == 0) return false; -#if CONFIG_CPU==PP5020 +#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) /* TODO: Implement for iPod */ (void)int_prio; #endif |