From: Uwe Hermann Date: Sat, 14 Sep 2013 21:20:48 +0000 (+0200) Subject: dcf77: Fix bug in handling of DCF77 bit 0. X-Git-Tag: libsigrokdecode-0.3.0~306 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e3163b299981d708fcbd418c1c6dab8c4a0af559;p=libsigrokdecode.git dcf77: Fix bug in handling of DCF77 bit 0. --- diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index 13f49dc..d38d695 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -246,12 +246,9 @@ class Decoder(srd.Decoder): # 2000ms distance to the last one, this edge marks the # beginning of a new minute (and DCF77 bit 0 of that minute). if len_edges_ms in range(1600, 2400 + 1): - self.put(ss, es, self.out_ann, [0, ['New minute starts']]) self.bitcount = 0 self.bit_start_old = self.bit_start self.dcf77_bitnumber_is_known = 1 - # Don't switch to 'GET BIT' state this time. - continue self.bit_start_old = self.bit_start self.state = 'GET BIT'