1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-11-28 17:36:39 +03:00

import getLocalTime() from esp32/Arduino (#8413)

* import getLocalTime() from esp32/Arduino
follows #8407
This commit is contained in:
david gauchard
2022-01-04 22:20:20 +01:00
committed by GitHub
parent f26201e6a9
commit a05a71fa9d
4 changed files with 28 additions and 25 deletions

View File

@@ -279,6 +279,8 @@ inline void configTzTime(const char* tz, const char* server1,
configTime(tz, server1, server2, server3);
}
bool getLocalTime(struct tm * info, uint32_t ms = 5000);
// Everything we expect to be implicitly loaded for the sketch
#include <pgmspace.h>