summaryrefslogtreecommitdiff
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-15 14:44:32 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-15 14:44:32 +0000
commit040b6cc654b90b09a71e5eae1749fe6f6f403cac (patch)
treec6385d679571b7a00c92a20696d3e04388a6c9b1 /firmware/timer.c
parentc4a49c4e5f2013222c6c62d56c219fa26ecf9b76 (diff)
downloadrockbox-040b6cc654b90b09a71e5eae1749fe6f6f403cac.tar.gz
rockbox-040b6cc654b90b09a71e5eae1749fe6f6f403cac.zip
Kill warnings that annoy me when building for Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/timer.c b/firmware/timer.c
index c803048744..3d522efd41 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -212,6 +212,8 @@ static bool timer_set(long cycles, bool start)
212 return true; 212 return true;
213#elif (CONFIG_CPU == IMX31L) 213#elif (CONFIG_CPU == IMX31L)
214 /* TODO */ 214 /* TODO */
215 (void)cycles; (void)start;
216 return false;
215#else 217#else
216 return __TIMER_SET(cycles, start); 218 return __TIMER_SET(cycles, start);
217#endif /* CONFIG_CPU */ 219#endif /* CONFIG_CPU */
@@ -280,6 +282,7 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
280 return true; 282 return true;
281#elif CONFIG_CPU == IMX31L 283#elif CONFIG_CPU == IMX31L
282 /* TODO */ 284 /* TODO */
285 return false;
283#else 286#else
284 return __TIMER_REGISTER(reg_prio, unregister_callback, cycles, 287 return __TIMER_REGISTER(reg_prio, unregister_callback, cycles,
285 int_prio, timer_callback); 288 int_prio, timer_callback);