You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement sntp_get|set_timezone_in_seconds()
* Fix typo
* Fix typo
* Get lwip1.4 to compile
This is just a workaround to get lwip1.4 to compile. It doesn't implement sntp_set_timezone_in_seconds() correctly, but rather does pretty much the same as sntp_set_timezone().
staticconstchar stod14[] PROGMEM = "settimeofday() can't set time!\n";
60
60
boolsntp_set_timezone(sint8 timezone);
61
+
boolsntp_set_timezone_in_seconds(sint32 timezone)
62
+
{
63
+
returnsntp_set_timezone((sint8)(timezone/(60*60))); //TODO: move this to the same file as sntp_set_timezone() in lwip1.4, and implement correctly over there.
0 commit comments