Skip to content

Commit e9f7657

Browse files
committed
+configTzTime()
1 parent 75e361d commit e9f7657

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cores/esp8266/Arduino.h

+7
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,13 @@ void configTime(int timezone, int daylightOffset_sec, const char* server1,
281281
void configTime(const char* tz, const char* server1,
282282
const char* server2 = nullptr, const char* server3 = nullptr);
283283

284+
// esp32 api compatibility
285+
void configTzTime(const char* tz, const char* server1,
286+
const char* server2 = nullptr, const char* server3 = nullptr)
287+
{
288+
configTime(tz, server1, server2, server3);
289+
}
290+
284291
#endif // __cplusplus
285292

286293
#include "pins_arduino.h"

0 commit comments

Comments
 (0)