1
0
mirror of https://github.com/xfjx/TonUINO.git synced 2025-08-22 04:32:49 +02:00

Lautstärketasten funktionierten nicht mehr - Ups!

This commit is contained in:
Thorsten Voß
2018-12-29 12:32:04 +01:00
parent 87274b440a
commit e64d8a283a

View File

@@ -547,8 +547,8 @@ void loop() {
setstandbyTimer();
}
else if (knownCard) {
disablestandbyTimer();
mp3.start();
disablestandbyTimer();
}
ignorePauseButton = false;
} else if (pauseButton.pressedFor(LONG_PRESS) &&
@@ -577,15 +577,15 @@ void loop() {
else
nextButton();
ignoreUpButton = true;
}
else
playShortCut(1);
} else if (upButton.wasReleased()) {
if (!ignoreUpButton)
if (!mySettings.invertVolumeButtons)
nextButton();
else
volumeUpButton();
}
else
playShortCut(1);
ignoreUpButton = false;
}
@@ -596,15 +596,15 @@ void loop() {
else
previousButton();
ignoreDownButton = true;
}
else
playShortCut(2);
} else if (downButton.wasReleased()) {
if (!ignoreDownButton)
if (!mySettings.invertVolumeButtons)
previousButton();
else
volumeDownButton();
}
else
playShortCut(2);
ignoreDownButton = false;
}
// Ende der Buttons