Merge branch 'logger-rework' of ssh://gitea.maiertobi.de:222/tobimai/waterlevel-software into logger-rework
Some checks failed
Test compiling project / test (push) Failing after 1m39s
Some checks failed
Test compiling project / test (push) Failing after 1m39s
This commit is contained in:
@@ -223,8 +223,8 @@ void setup()
|
||||
}
|
||||
|
||||
logger.log(0, DEBUG, "Getting time now");
|
||||
// Configure time with a GMT offset and daylight offset in seconds.
|
||||
configTime(3600, 0, "pool.ntp.org");
|
||||
// Configure time to UTC
|
||||
configTime(0, 0, "pool.ntp.org");
|
||||
|
||||
// Wait until a valid time is obtained (time > 8 hours in seconds)
|
||||
time_t now = time(NULL);
|
||||
|
||||
Reference in New Issue
Block a user