projects
/
esp-clock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Мелкие доработки стилей веб-интерфейса
[esp-clock.git]
/
weather.cpp
diff --git
a/weather.cpp
b/weather.cpp
index 999f35c28f6f158f27832d9dcf17b852c62743c6..dc11706e6ae2ae23c6e874639d2c3056d761c510 100644
(file)
--- a/
weather.cpp
+++ b/
weather.cpp
@@
-89,6
+89,7
@@
void requestCB(void* optParm, AsyncHTTPRequest* request, int readyState) {
Serial.print(F("Ошибка разбора ответа: "));
Serial.println(error.c_str());
Serial.println(weather_json);
Serial.print(F("Ошибка разбора ответа: "));
Serial.println(error.c_str());
Serial.println(weather_json);
+ reportMessage(F("Ошибка обновления погоды"));
return;
}
weather.clear();
return;
}
weather.clear();
@@
-97,6
+98,7
@@
void requestCB(void* optParm, AsyncHTTPRequest* request, int readyState) {
delete current_weather;
processTemplates(weatherData,weather_template,weather,255);
sendWeather();
delete current_weather;
processTemplates(weatherData,weather_template,weather,255);
sendWeather();
+ reportMessage(F("Погода обновлена"));
scroll(weatherData, !isNight());
}
}
scroll(weatherData, !isNight());
}
}