switching from ext to int clock now stops the clock

This commit is contained in:
2023-12-14 22:06:21 +02:00
parent 47a05fbedf
commit d49395ce43

View File

@ -168,6 +168,10 @@ void checkInputs() {
&& (shiftBtnPushed || menuItemSelected) && (shiftBtnPushed || menuItemSelected)
&& displayTab == 0 && displayTab == 0
&& menuItem == 1) { //Master Clock Mode && menuItem == 1) { //Master Clock Mode
if (masterClockMode == 1 && change == -1) { //Stop when switching from ext to int
isPlaying = false;
}
masterClockMode = masterClockMode + change; masterClockMode = masterClockMode + change;
if (masterClockMode > 100) { if (masterClockMode > 100) {
masterClockMode = 0; masterClockMode = 0;