diff options
| author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-10-23 13:11:57 +0000 |
|---|---|---|
| committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-10-23 13:11:57 +0000 |
| commit | 37f7f0b23bc360f8ad8ad30b19055470545f5a83 (patch) | |
| tree | bdaf51446f52ce986c6f55d98381324b9762a785 /firmware/timer.c | |
| parent | 500a761cb042ffd23a808c7d62d17809d3f1e543 (diff) | |
| download | rockbox-37f7f0b23bc360f8ad8ad30b19055470545f5a83.zip rockbox-37f7f0b23bc360f8ad8ad30b19055470545f5a83.tar.gz rockbox-37f7f0b23bc360f8ad8ad30b19055470545f5a83.tar.bz2 rockbox-37f7f0b23bc360f8ad8ad30b19055470545f5a83.tar.xz | |
reduce the number of gigabeat warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
| -rw-r--r-- | firmware/timer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/timer.c b/firmware/timer.c index 84d0359..80d3fec 100644 --- a/firmware/timer.c +++ b/firmware/timer.c @@ -167,6 +167,9 @@ static bool timer_set(long cycles, bool start) else cycles_new = cycles; +#elif CONFIG_CPU == S3C2440 /* TODO: Implement for the Gigabeat */ + (void)start; + (void)cycles; #endif /* CONFIG_CPU */ return true; } @@ -197,7 +200,8 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void), if (reg_prio <= timer_prio || cycles == 0) return false; -#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) +#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) \ + || (CONFIG_CPU==S3C2440) /* TODO: Implement for iPod and iFP (if possible) */ (void)int_prio; #endif |