summaryrefslogtreecommitdiffstats
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
parentcf5f256a931479dbe0eed192caa0e7a425aafe19 (diff)
downloadrockbox-d770cfa65fe5cb68ff7e45e635af3dcffe282cc5.tar.gz
rockbox-d770cfa65fe5cb68ff7e45e635af3dcffe282cc5.tar.bz2
rockbox-d770cfa65fe5cb68ff7e45e635af3dcffe282cc5.zip
Fix the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10889 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/eq_menu.c4
-rw-r--r--apps/settings.c4
2 files changed, 7 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)
void eq_hw_enable(bool enable)
{
-#ifndef SIMULATOR
+#ifdef SIMULATOR
+ (void) enable;
+#else
if (enable) {
wmcodec_set_equalizer_band(0, global_settings.eq_hw_band0_cutoff,
0, global_settings.eq_hw_band0_gain);
diff --git a/apps/settings.c b/apps/settings.c
index 778d99f4e9..8dcad6bae4 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -92,6 +92,10 @@ const char rec_base_directory[] = REC_BASE_DIR;
#include "dsp.h"
#endif
+#ifdef HAVE_WM8758
+#include "eq_menu.h"
+#endif
+
#define CONFIG_BLOCK_VERSION 52
#define CONFIG_BLOCK_SIZE 512
#define RTC_BLOCK_SIZE 44