Skip to content

Commit

Permalink
Fix for ESP32 equalizer settings don't update when expected
Browse files Browse the repository at this point in the history
  • Loading branch information
digidocs committed Aug 21, 2024
1 parent 40a698e commit a633524
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/squeezelite/equalizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a633524

Please sign in to comment.