diff --git a/esp8266-weather-station-color.ino b/esp8266-weather-station-color.ino index 44af891..7a061f3 100644 --- a/esp8266-weather-station-color.ino +++ b/esp8266-weather-station-color.ino @@ -377,7 +377,7 @@ void drawCurrentWeather() { gfx.setFont(ArialRoundedMTBold_14); gfx.setColor(MINI_BLUE); gfx.setTextAlignment(TEXT_ALIGN_RIGHT); - gfx.drawString(220, 65, currentWeather.cityName); + gfx.drawString(220, 65, DISPLAYED_CITY_NAME); gfx.setFont(ArialRoundedMTBold_36); gfx.setColor(MINI_WHITE); diff --git a/settings.h b/settings.h index c47c943..b180a85 100644 --- a/settings.h +++ b/settings.h @@ -39,6 +39,7 @@ data for. It'll be a URL like https://openweathermap.org/city/2657896. The numbe at the end is what you assign to the constant below. */ String OPEN_WEATHER_MAP_LOCATION_ID = "2657896"; +String DISPLAYED_CITY_NAME = "Zurich"; /* Arabic -> ar, Bulgarian -> bg, Catalan -> ca, Czech -> cz, German -> de, Greek -> el, English -> en, Persian (Farsi) -> fa, Finnish -> fi, French -> fr, Galician -> gl,