From e80572011ec63a1d1f4dc8ce81d2ff17315619ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Vo=C3=9F?= Date: Fri, 11 Jan 2019 00:15:51 +0100 Subject: [PATCH] =?UTF-8?q?Bugfix=20f=C3=BCr=20die=20Shortcuts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tonuino.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tonuino.ino b/Tonuino.ino index 0ee054a..c7593d3 100644 --- a/Tonuino.ino +++ b/Tonuino.ino @@ -451,6 +451,7 @@ void previousButton() { void playFolder() { disablestandbyTimer(); + randomSeed(millis + random(1000)); knownCard = true; _lastTrackFinished = 0; numTracksInFolder = mp3.getFolderTrackCount(myFolder->folder); @@ -536,6 +537,7 @@ void playShortCut(uint8_t shortCut) { myFolder = &mySettings.shortCuts[shortCut]; playFolder(); disablestandbyTimer(); + delay(500); } else Serial.println(F("Shortcut not configured!"));