summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
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)
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