mirror of https://github.com/sqfmi/Watchy.git
Merge pull request #193 from Alex-K37/ambig_overload
fixed compilation error: ambiguous overload for 'operator='pull/199/head
commit
7333873f08
|
@ -617,7 +617,7 @@ weatherData Watchy::getWeatherData(String cityID, String units, String lang,
|
||||||
currentWeather.weatherConditionCode =
|
currentWeather.weatherConditionCode =
|
||||||
int(responseObject["weather"][0]["id"]);
|
int(responseObject["weather"][0]["id"]);
|
||||||
currentWeather.weatherDescription =
|
currentWeather.weatherDescription =
|
||||||
responseObject["weather"][0]["main"];
|
JSONVar::stringify(responseObject["weather"][0]["main"]);
|
||||||
// sync NTP during weather API call and use timezone of city
|
// sync NTP during weather API call and use timezone of city
|
||||||
syncNTP(long(responseObject["timezone"]));
|
syncNTP(long(responseObject["timezone"]));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue