diff --git a/client/client.ino b/client/client.ino index 98a0b47..36844b2 100644 --- a/client/client.ino +++ b/client/client.ino @@ -61,10 +61,10 @@ struct Timetable { // Selectable timetables Timetable timetables[] = { - {"Johanneskirche, Bstg. 1", "/departures?stop_id=de:08311:30104&platform=1"}, - {"Johanneskirche, Bstg. 2", "/departures?stop_id=de:08311:30104&platform=2"}, - {"Blumenthalstr., Bstg. A", "/departures?stop_id=de:08221:1225&platform=A"}, - {"Blumenthalstr., Bstg. B", "/departures?stop_id=de:08221:1225&platform=B"} + {"Johanneskirche Bstg. 1", "/departures?stop_id=de:08311:30104&platform=1"}, + {"Johanneskirche Bstg. 2", "/departures?stop_id=de:08311:30104&platform=2"}, + {"Blumenthalstr Bstg. A", "/departures?stop_id=de:08221:1225&platform=A"}, + {"Blumenthalstr Bstg. B", "/departures?stop_id=de:08221:1225&platform=B"} }; size_t selectedTimetable = 0; @@ -232,7 +232,6 @@ void StateShowingDepartures::enter() { if (line > 8) { break; } - char symbol[3] = {0}; char direction[16] = {0}; @@ -252,6 +251,10 @@ void StateShowingDepartures::enter() { line++; } + + clearClock(); + display.setCursor(CLOCK_X, CLOCK_Y); + display.printf("%5s", departures["serverTime"].as()); } void StateShowingDepartures::tick() {