diff options
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 84d0359008..80d3fec561 100644 --- a/firmware/timer.c +++ b/firmware/timer.c | |||
@@ -167,6 +167,9 @@ static bool timer_set(long cycles, bool start) | |||
167 | else | 167 | else |
168 | cycles_new = cycles; | 168 | cycles_new = cycles; |
169 | 169 | ||
170 | #elif CONFIG_CPU == S3C2440 /* TODO: Implement for the Gigabeat */ | ||
171 | (void)start; | ||
172 | (void)cycles; | ||
170 | #endif /* CONFIG_CPU */ | 173 | #endif /* CONFIG_CPU */ |
171 | return true; | 174 | return true; |
172 | } | 175 | } |
@@ -197,7 +200,8 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void), | |||
197 | if (reg_prio <= timer_prio || cycles == 0) | 200 | if (reg_prio <= timer_prio || cycles == 0) |
198 | return false; | 201 | return false; |
199 | 202 | ||
200 | #if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) | 203 | #if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) \ |
204 | || (CONFIG_CPU==S3C2440) | ||
201 | /* TODO: Implement for iPod and iFP (if possible) */ | 205 | /* TODO: Implement for iPod and iFP (if possible) */ |
202 | (void)int_prio; | 206 | (void)int_prio; |
203 | #endif | 207 | #endif |