udoklein / dcf77

Noise resilient DCF77 decoder library for Arduino
http://blog.blinkenlight.net/experiments/dcf77/dcf77-library/
GNU General Public License v3.0
93 stars 28 forks source link

Redundant Code in dcf77.h #35

Closed nameoftherose closed 5 years ago

nameoftherose commented 5 years ago

It seems to me that lines 2118 - 2120 in dcf77.h are redundant as function BCD::bcd_t DCF77_Encoder::get_bcd_weekday() (line 800 dcf77.cpp) has already adjusted weekday.val. But I am be missing something and anyway it is without consequences.

udoklein commented 5 years ago

Yes, this is redundant. I will fix it with v3.3.2

udoklein commented 5 years ago

Fixed: https://github.com/udoklein/dcf77/tree/v3.3.2