1
0
mirror of https://github.com/xfjx/TonUINO.git synced 2025-08-31 18:21:50 +02:00

Merge pull request #2 from oeddn/patch-1

Add missing curly braces around else statement
This commit is contained in:
Thorsten Voß
2018-09-05 18:18:40 +02:00
committed by GitHub

View File

@@ -96,11 +96,12 @@ static void nextTrack() {
mp3.playFolderTrack(myCard.folder, track); mp3.playFolderTrack(myCard.folder, track);
// Fortschritt im EEPROM abspeichern // Fortschritt im EEPROM abspeichern
EEPROM.write(myCard.folder, track); EEPROM.write(myCard.folder, track);
} else } else {
mp3.sleep(); mp3.sleep();
// Fortschritt zurück setzen // Fortschritt zurück setzen
EEPROM.write(myCard.folder, 1); EEPROM.write(myCard.folder, 1);
} }
}
} }
static void previousTrack() { static void previousTrack() {