From a394787aa1ce4be91da168ee8871d293c54e2431 Mon Sep 17 00:00:00 2001 From: Juppit Date: Mon, 9 Nov 2015 16:53:24 +0100 Subject: [PATCH] Update for time.c configTime needs timezone as long --- cores/esp8266/Arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index 6a7736634..7e06e0058 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -271,7 +271,7 @@ long random(long, long); void randomSeed(unsigned long); long map(long, long, long, long, long); -extern "C" void configTime(int timezone, int daylightOffset_sec, +extern "C" void configTime(long timezone, int daylightOffset_sec, const char* server1, const char* server2 = nullptr, const char* server3 = nullptr); #endif