summaryrefslogtreecommitdiffstats
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.tar.bz2
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)
return true;
#elif (CONFIG_CPU == IMX31L)
/* TODO */
+ (void)cycles; (void)start;
+ return false;
#else
return __TIMER_SET(cycles, start);
#endif /* CONFIG_CPU */
@@ -280,6 +282,7 @@ bool timer_register(int reg_prio, void (*unregister_callback)(void),
return true;
#elif CONFIG_CPU == IMX31L
/* TODO */
+ return false;
#else
return __TIMER_REGISTER(reg_prio, unregister_callback, cycles,
int_prio, timer_callback);