Skip to content

Commit

Permalink
Update for time.c
Browse files Browse the repository at this point in the history
configTime needs timezone as long
  • Loading branch information
Juppit committed Nov 9, 2015
1 parent d46ad79 commit a394787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a394787

Please sign in to comment.