clockcontroller.cpp bugfix ts variable
This commit is contained in:
1 parent
4608a3b063
commit
d9a2107450
2 files changed
+3
-3
No files matched your search
@@ -59,8 +59,8 @@ void clock_loop(void *pvParameters) { // ClockTask
|
||||
|
||||
#elif defined HAS_DCF77
|
||||
|
||||
if (ts == DCF77_FRAME_SIZE - 1) // moment to reload frame?
|
||||
DCF77_Frame(t1(t)); // generate next frame
|
||||
if (second(t) == DCF77_FRAME_SIZE - 1) // moment to reload frame?
|
||||
DCF77_Frame(t1(t)); // generate next frame
|
||||
|
||||
if (DCFpulse[DCF77_FRAME_SIZE] ==
|
||||
minute(t1(t))) // do he have a recent frame?
|
||||
|
||||
Reference in new issue
Block a user