summaryrefslogtreecommitdiff
path: root/apps
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
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')
-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)
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);
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;
92#include "dsp.h" 92#include "dsp.h"
93#endif 93#endif
94 94
95#ifdef HAVE_WM8758
96#include "eq_menu.h"
97#endif
98
95#define CONFIG_BLOCK_VERSION 52 99#define CONFIG_BLOCK_VERSION 52
96#define CONFIG_BLOCK_SIZE 512 100#define CONFIG_BLOCK_SIZE 512
97#define RTC_BLOCK_SIZE 44 101#define RTC_BLOCK_SIZE 44