mirror of
https://github.com/xfjx/TonUINO.git
synced 2025-08-29 12:49:59 +02:00
Bugfix für die Shortcuts
This commit is contained in:
@@ -451,6 +451,7 @@ void previousButton() {
|
|||||||
|
|
||||||
void playFolder() {
|
void playFolder() {
|
||||||
disablestandbyTimer();
|
disablestandbyTimer();
|
||||||
|
randomSeed(millis + random(1000));
|
||||||
knownCard = true;
|
knownCard = true;
|
||||||
_lastTrackFinished = 0;
|
_lastTrackFinished = 0;
|
||||||
numTracksInFolder = mp3.getFolderTrackCount(myFolder->folder);
|
numTracksInFolder = mp3.getFolderTrackCount(myFolder->folder);
|
||||||
@@ -536,6 +537,7 @@ void playShortCut(uint8_t shortCut) {
|
|||||||
myFolder = &mySettings.shortCuts[shortCut];
|
myFolder = &mySettings.shortCuts[shortCut];
|
||||||
playFolder();
|
playFolder();
|
||||||
disablestandbyTimer();
|
disablestandbyTimer();
|
||||||
|
delay(500);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Serial.println(F("Shortcut not configured!"));
|
Serial.println(F("Shortcut not configured!"));
|
||||||
|
Reference in New Issue
Block a user