From 3903ec7b9823902b6f32ea72342e58d3f5ab6623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20St=C3=A4ck?= Date: Sat, 27 Jul 2019 00:20:01 +0200 Subject: [PATCH] Mistakes were made --- NuEVI/NuEVI.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuEVI/NuEVI.ino b/NuEVI/NuEVI.ino index 6fc1f62..7ba93ed 100644 --- a/NuEVI/NuEVI.ino +++ b/NuEVI/NuEVI.ino @@ -1125,7 +1125,7 @@ void readSwitches() { // Octave rollers octaveR = 0; - if (touchKeys[R5Pin] && touchValue[R3Pin]) octaveR = 6; //R6 = R5 && R3 + if (touchKeys[R5Pin] && touchKeys[R3Pin]) octaveR = 6; //R6 = R5 && R3 else if (touchKeys[R5Pin]) octaveR = 5; //R5 else if (touchKeys[R4Pin]) octaveR = 4; //R4 else if (touchKeys[R3Pin] && lastOctaveR) octaveR = 3; //R3