From 32981cb992be16b7d36cb92c5655a6207fc44f6f Mon Sep 17 00:00:00 2001 From: Johan Berglund Date: Tue, 22 Oct 2019 19:33:08 +0200 Subject: [PATCH] Fix for negative breath activated controls. --- NuEVI/NuEVI.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuEVI/NuEVI.ino b/NuEVI/NuEVI.ino index 9a59f6c..5d74b76 100644 --- a/NuEVI/NuEVI.ino +++ b/NuEVI/NuEVI.ino @@ -465,7 +465,7 @@ void loop() { } } } else { - if (pbDn > (pitchbMaxVal + pitchbThrVal) / 2 && (analogRead(breathSensorPin) < (breathCalZero - 850)) && programonce == false) { // down bend for suck programming button + if ((pbDn > (pitchbMaxVal + pitchbThrVal) / 2) && legacyBrAct && brSuck && programonce == false) { // down bend for suck programming button programonce = true; if (octaveR == 0) { //lowest octave position