Closed nameoftherose closed 3 years ago
Thanks for reporting this bug. I will fix it as soon as I find some time. Although easy to fix this may take up to 6 weeks because I am right now extra busy with other stuff. But definitely thanks a lot for finding this detail.
This was fixed in 2019 by https://github.com/udoklein/dcf77/commit/a40551ba7a99032db0ff5d8117d5279da0e7bab1 but I forgot to close the issue. I will close it now.
In dcf77.h lines 2232 -2239 you define structure
DCF77_Encoder now;
and partly initialize it, then in line 2240 you callnow.debug();
which also uses the uninitialized membersuses_summertime
,leap_second_scheduled
andtimezone_change_scheduled
producing misleading output. I think the following three lines should be inserted after line 2239: