Fix default weather string
This commit is contained in:
parent
e1cf39ed70
commit
40941908fa
@ -130,9 +130,9 @@ void weather::update() {
|
||||
|
||||
|
||||
if(!WEATHER_METRIC){
|
||||
temp_today = (temp_today * 1.8) + 32;
|
||||
temp_tommorow = (temp_tommorow * 1.8) + 32;
|
||||
temp_day_after = (temp_day_after * 1.8) + 32;
|
||||
temp_today = (int)(temp_today * 1.8) + 32;
|
||||
temp_tommorow = (int)(temp_tommorow * 1.8) + 32;
|
||||
temp_day_after = (int)(temp_day_after * 1.8) + 32;
|
||||
}
|
||||
|
||||
json_string.clear();
|
||||
|
@ -16,8 +16,7 @@ namespace dashboard::panel {
|
||||
constexpr char WEATHER_TITLE[] = "Weather";
|
||||
|
||||
//Cuyahoga Falls Weather Feed
|
||||
//static const char* WEATHER_URL_SOURCE = "https://www.7timer.info/bin/civil.php?lon=41.13&lat=-81.48&unit=british&output=json&tzshift=0";
|
||||
constexpr char WEATHER_URL_SOURCE[] = "https://www.7timer.info/bin/civil.php?lon=41.13&lat=-81.48&unit=british&output=json&tzshift=0";
|
||||
constexpr char WEATHER_URL_SOURCE[] = "https://www.7timer.info/bin/civil.php?lon=-81.48&lat=41.134&unit=metric&output=json&tzshift=0";
|
||||
|
||||
//Default time the slide is shown on screen, in ms
|
||||
//Default 15s
|
||||
|
Loading…
Reference in New Issue
Block a user