1.1.1 final final 1 (hopefuly). Fixed a play indicator bug and added reset after stop to prevent stuck channels
This commit is contained in:
@ -371,12 +371,13 @@ void checkInputs() {
|
||||
if (!digitalRead(START_STOP_BTN_PIN) && !playBtnPushed) {
|
||||
if (masterClockMode == 0) {
|
||||
calculateBPMTiming();
|
||||
resetClocks();
|
||||
if (!isPlaying) {
|
||||
resetClocks();
|
||||
isPlaying = true;
|
||||
sendMIDIStart();
|
||||
} else {
|
||||
isPlaying = false;
|
||||
resetClocks();
|
||||
sendMIDIStop();
|
||||
}
|
||||
}
|
||||
|
||||
@ -259,10 +259,11 @@ void updateScreen() {
|
||||
}
|
||||
}
|
||||
|
||||
valueStr = F("t");
|
||||
if (masterClockMode == 0 && !isPlaying) {
|
||||
valueStr = F("t");
|
||||
u8g2.drawUTF8(121, yPos, valueStr.c_str() );
|
||||
} else if (masterClockMode == 0 && isPlaying) {
|
||||
valueStr = F("r");
|
||||
u8g2.drawUTF8(122, yPos, valueStr.c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user