Skip to content

Commit a394787

Browse files
committed
Update for time.c
configTime needs timezone as long
1 parent d46ad79 commit a394787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/Arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ long random(long, long);
271271
void randomSeed(unsigned long);
272272
long map(long, long, long, long, long);
273273

274-
extern "C" void configTime(int timezone, int daylightOffset_sec,
274+
extern "C" void configTime(long timezone, int daylightOffset_sec,
275275
const char* server1, const char* server2 = nullptr, const char* server3 = nullptr);
276276

277277
#endif

0 commit comments

Comments
 (0)