Rev 6 #1
@ -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) {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user