From a633524936ef56e133807d74775688468dc2606e Mon Sep 17 00:00:00 2001 From: David Carr Date: Tue, 20 Aug 2024 23:52:17 -0500 Subject: [PATCH] Fix for ESP32 equalizer settings don't update when expected --- components/squeezelite/equalizer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/squeezelite/equalizer.c b/components/squeezelite/equalizer.c index f823fe19c..d2d717bd3 100644 --- a/components/squeezelite/equalizer.c +++ b/components/squeezelite/equalizer.c @@ -159,8 +159,7 @@ void equalizer_set_gain(int8_t *gain) { config[n-1] = '\0'; config_set_value(NVS_TYPE_STR, "equalizer", config); - // update only if something changed - if (!memcmp(equalizer.gain, gain, EQ_BANDS)) equalizer.update = true; + equalizer.update = true; LOG_INFO("equalizer gain %s", config); #else