Fix for negative breath activated controls.
This commit is contained in:
parent
8c1a7444c6
commit
32981cb992
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ void loop() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} 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;
|
programonce = true;
|
||||||
|
|
||||||
if (octaveR == 0) { //lowest octave position
|
if (octaveR == 0) { //lowest octave position
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue