Update time on boot
This commit is contained in:
1 parent
67fda7c395
commit
2f18613b9e
1 file changed
+1
@@ -316,6 +316,7 @@ bool fetchWeatherData() {
|
|||||||
void setup(void) {
|
void setup(void) {
|
||||||
initSystems();
|
initSystems();
|
||||||
netman.start();
|
netman.start();
|
||||||
|
timeClient.update();
|
||||||
timeClient.begin();
|
timeClient.begin();
|
||||||
fetchWeatherData();
|
fetchWeatherData();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user