summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-11-25 16:31:24 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-11-25 16:31:24 +0000
commit8d84a81a1e40865b06b2fd60cbfb19af670e6ccd (patch)
treebcc57bd0c2c28c2475d1d8adeda926bef9fcb888
parent3511d94031d617631036742a51bc8fc9a86527d6 (diff)
downloadrockbox-8d84a81a1e40865b06b2fd60cbfb19af670e6ccd.tar.gz
rockbox-8d84a81a1e40865b06b2fd60cbfb19af670e6ccd.tar.bz2
rockbox-8d84a81a1e40865b06b2fd60cbfb19af670e6ccd.zip
Fix c200 warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19215 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/ascodec-pp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/ascodec-pp.c b/firmware/target/arm/ascodec-pp.c
index ac45cddc14..b19bde7228 100644
--- a/firmware/target/arm/ascodec-pp.c
+++ b/firmware/target/arm/ascodec-pp.c
@@ -66,6 +66,7 @@ void audiohw_init(void)
void ascodec_supressor_on(bool on)
{
+ /* CHECK: Good for c200 too? */
#ifdef SANSA_E200
if (on) {
/* Set pop prevention */
@@ -74,5 +75,7 @@ void ascodec_supressor_on(bool on)
/* Release pop prevention */
GPIO_CLEAR_BITWISE(GPIOG_OUTPUT_VAL, 0x08);
}
+#else
+ (void)on;
#endif
}