summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2007-10-13 23:29:49 +0000
committerDan Everton <dan@iocaine.org>2007-10-13 23:29:49 +0000
commit04ad90706b6816a9625a633d78017220ff0b7f68 (patch)
tree63bc1853834a0dedeac4633d5edd8b79abd3468f
parenta537114d0298b20e83209af6c252129ef841cf8a (diff)
downloadrockbox-04ad90706b6816a9625a633d78017220ff0b7f68.tar.gz
rockbox-04ad90706b6816a9625a633d78017220ff0b7f68.tar.bz2
rockbox-04ad90706b6816a9625a633d78017220ff0b7f68.zip
Fix warnings by being stricter about declaring volume min/max
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15102 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index fc1b6e025c..37ca27b95d 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -38,7 +38,7 @@
#if CONFIG_CODEC == MAS3507D /* volume/balance/treble/bass interdependency */
#define VOLUME_MIN -780
#define VOLUME_MAX 180
-#else
+#elif !defined(VOLUME_MIN) && !defined(VOLUME_MAX)
#define VOLUME_MIN -400
#define VOLUME_MAX 600
#endif