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:
14
Tonuino.ino
14
Tonuino.ino
@@ -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
|
||||
|
Reference in New Issue
Block a user