Send extra controller CC2 even if CC1 is off.

This commit is contained in:
Johan Berglund 2019-09-12 18:47:56 +02:00
parent a141434952
commit 7449b04725

View file

@ -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