diff --git a/Software/Gravity/Gravity.ino b/Software/Gravity/Gravity.ino index 7bcf237..a3779fa 100644 --- a/Software/Gravity/Gravity.ino +++ b/Software/Gravity/Gravity.ino @@ -308,9 +308,10 @@ void externalClock() { if (masterClockMode == 1 && extClockPPQN == 0) { // EXT-24 //reset cycles if there was no pulses for a while if ((newExtPulseTime - lastExtPulseTime) > 125) { //125ms is 20bpm - for (byte i = 0; i < 6; i++) { - channelPulseCount[i] = 0; - } + //for (byte i = 0; i < 6; i++) { + //channelPulseCount[i] = 0; + //} + resetClocks(); } if (!isPlaying) { diff --git a/Software/Gravity/Interactions.ino b/Software/Gravity/Interactions.ino index b6076b0..0a7a7ab 100644 --- a/Software/Gravity/Interactions.ino +++ b/Software/Gravity/Interactions.ino @@ -386,7 +386,7 @@ void checkInputs() { } else if (digitalRead(SHIFT_BTN_PIN) && shiftBtnPushed) { shiftBtnPushed = false; shiftReleasedTime = millis(); - if (shiftReleasedTime - shiftPressedTime > 500) { //&& shiftReleasedTime - shiftPressedTime < 2000 + if (displayScreen == 1 && shiftReleasedTime - shiftPressedTime > 500) { //&& shiftReleasedTime - shiftPressedTime < 2000 //Clear the sequence for (byte i = 0; i < 16; i++) { patternToEdit[i] = 0; }