touchValue never used here, no point in reading touch data.
This commit is contained in:
parent
f36129d4bb
commit
7c1aa2c0a4
1 changed files with 1 additions and 4 deletions
|
@ -1027,10 +1027,7 @@ void pitch_bend() {
|
|||
//***********************************************************
|
||||
|
||||
void doorKnobCheck() {
|
||||
int touchValue[12];
|
||||
for (byte i = 0; i < 12; i++) {
|
||||
touchValue[i] = touchSensor.filteredData(i);
|
||||
}
|
||||
|
||||
if (gateOpenEnable){
|
||||
if (K4 && R1 && R2 && R3) { // doorknob grip on canister
|
||||
if (!gateOpen && (pbUp > ((pitchbMaxVal + pitchbThrVal) / 2))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue