1
0
mirror of https://github.com/xfjx/TonUINO.git synced 2025-08-29 22:40:23 +02:00
This commit is contained in:
Thorsten Voß
2019-02-06 19:01:16 +01:00
parent c32b597dee
commit a88bec1ef7

View File

@@ -456,7 +456,7 @@ void previousButton() {
void playFolder() {
disablestandbyTimer();
randomSeed(millis + random(1000));
randomSeed(millis() + random(1000));
knownCard = true;
_lastTrackFinished = 0;
numTracksInFolder = mp3.getFolderTrackCount(myFolder->folder);
@@ -661,7 +661,7 @@ void loop() {
if (readCard(&myCard) == true) {
// make random a little bit more "random"
randomSeed(millis());
randomSeed(millis() + random(1000));
if (myCard.cookie == 322417479 && myFolder->folder != 0 && myFolder->mode != 0) {
playFolder();
}