summaryrefslogtreecommitdiff
path: root/apps/eq_menu.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-09-05 11:59:02 +0000
committerDan Everton <dan@iocaine.org>2006-09-05 11:59:02 +0000
commitd770cfa65fe5cb68ff7e45e635af3dcffe282cc5 (patch)
treefa8fb0ff98af2be1ffe74843845bc31ecfa7cdc1 /apps/eq_menu.c
parentcf5f256a931479dbe0eed192caa0e7a425aafe19 (diff)
downloadrockbox-d770cfa65fe5cb68ff7e45e635af3dcffe282cc5.tar.gz
rockbox-d770cfa65fe5cb68ff7e45e635af3dcffe282cc5.zip
Fix the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10889 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/eq_menu.c')
-rw-r--r--apps/eq_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/eq_menu.c b/apps/eq_menu.c
index 7bd6e814ce..b062dd719d 100644
--- a/apps/eq_menu.c
+++ b/apps/eq_menu.c
@@ -1006,7 +1006,9 @@ static bool eq_hw_set_band4_gain(void)
1006 1006
1007void eq_hw_enable(bool enable) 1007void eq_hw_enable(bool enable)
1008{ 1008{
1009#ifndef SIMULATOR 1009#ifdef SIMULATOR
1010 (void) enable;
1011#else
1010 if (enable) { 1012 if (enable) {
1011 wmcodec_set_equalizer_band(0, global_settings.eq_hw_band0_cutoff, 1013 wmcodec_set_equalizer_band(0, global_settings.eq_hw_band0_cutoff,
1012 0, global_settings.eq_hw_band0_gain); 1014 0, global_settings.eq_hw_band0_gain);