From db660fd76718c0d479548995038ef181da367e40 Mon Sep 17 00:00:00 2001 From: c vw Date: Sat, 26 Oct 2019 12:57:01 +0200 Subject: [PATCH] ATT knob --- midi3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midi3.c b/midi3.c index 9503a2b..21e3eea 100644 --- a/midi3.c +++ b/midi3.c @@ -237,7 +237,7 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) { new=adc_attenuation[active_receiver->adc] + val; if (new > 31) new=31; if (new < 0 ) new=0; - + } else { new=(31*val)/100; } dp=malloc(sizeof(double)); -- 2.45.2