Skip to content

Commit 72bd19e

Browse files
committed
Update station on save
1 parent 4dcb8ff commit 72bd19e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/DBTFT/src/DBTFT.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ void afterConfigCallback() {
257257
File f = LittleFS.open("/station", "w");
258258
f.print(fromStationName);
259259
f.close();
260+
fromStation = db.getStation(fromStationName);
260261
}
261262
uint8_t r = rotationParameter.getValue()[0];
262263
if (r == '1' || r == '3') {

0 commit comments

Comments
 (0)