Skip to content

Commit 6519a02

Browse files
committed
#447: fix wrong noise reduction default value causing maxed out bars
1 parent aca8a35 commit 6519a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ bool load_config(char configPath[PATH_MAX], struct config_params *p, bool colors
471471
p->integral = iniparser_getdouble(ini, "smoothing:integral", 77);
472472
p->gravity = iniparser_getdouble(ini, "smoothing:gravity", 100);
473473
p->ignore = iniparser_getdouble(ini, "smoothing:ignore", 0);
474-
p->noise_reduction = iniparser_getdouble(ini, "smoothing:noise_reduction", 1);
474+
p->noise_reduction = iniparser_getdouble(ini, "smoothing:noise_reduction", 0.77);
475475

476476
if (!load_colors(p, ini, error)) {
477477
return false;

0 commit comments

Comments
 (0)