Merge pull request #289 from cyberman54/development

timekeeper.cpp bugfix dcf77 frame
This commit is contained in:
Verkehrsrot 2019-03-02 21:25:53 +01:00 committed by GitHub
commit 0ed71575af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ void clock_loop(void *taskparameter) { // ClockTask
// due to concurrent access to i2c bus for setting rtc via SyncProvider! // due to concurrent access to i2c bus for setting rtc via SyncProvider!
#define nextsec(t) (t + 1) // next second #define nextsec(t) (t + 1) // next second
#define nextmin(t) (t + SECS_PER_MIN + 1) // next minute #define nextmin(t) (t + DCF77_FRAME_SIZE + 1) // next minute
uint32_t printtime; uint32_t printtime;
time_t t = *((time_t *)taskparameter); // UTC time seconds time_t t = *((time_t *)taskparameter); // UTC time seconds