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