From 0cb4aca84d68b5e674a4797c1f87a900bec7663c Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Tue, 29 Oct 2019 09:53:22 +0100 Subject: [PATCH] Fix for using wrong configuration var for chorus_depth when loading from EEPROM. --- MicroDexed.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index db65200..0791e2e 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -356,7 +356,7 @@ void setup() modulator.begin(WAVEFORM_TRIANGLE); } modulator.phase(0); - modulator.amplitude(mapfloat(configuration.chorus_level, CHORUS_LEVEL_MIN, CHORUS_LEVEL_MAX, 0.0, 1.0)); + modulator.amplitude(mapfloat(configuration.chorus_depth, CHORUS_DEPTH_MIN, CHORUS_DEPTH_MAX, 0.0, 1.0)); modulator.offset(0.0); #if MOD_FILTER_OUTPUT == MOD_BUTTERWORTH_FILTER_OUTPUT // Butterworth filter, 12 db/octave