Skip to content

Commit

Permalink
Send extra controller CC2 even if CC1 is off.
Browse files Browse the repository at this point in the history
  • Loading branch information
Trasselfrisyr committed Sep 12, 2019
1 parent a141434 commit 7449b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NuEVI/NuEVI.ino
Expand Up @@ -1048,7 +1048,7 @@ void extraController() {
CC2sw = 1;
CC1sw = 1;
}
if (extraCT && (exSensor >= extracThrVal)) { // if we are enabled and over the threshold, send data
if ((extraCT || extraCT2) && (exSensor >= extracThrVal)) { // if we are enabled and over the threshold, send data
if (!extracIsOn) {
extracIsOn = 1;
if ((extraCT == 4) && CC1sw) { //Sustain ON
Expand Down

0 comments on commit 7449b04

Please sign in to comment.