]> sigrok.org Git - libsigrokdecode.git/commitdiff
dcf77: Fix bug in handling of DCF77 bit 0.
authorUwe Hermann <redacted>
Sat, 14 Sep 2013 21:20:48 +0000 (23:20 +0200)
committerUwe Hermann <redacted>
Sun, 15 Sep 2013 14:36:32 +0000 (16:36 +0200)
decoders/dcf77/pd.py

index 13f49dc02e50e0bc745e4449077611e839fd2092..d38d6951fb22d1af0999ebbda040b65120ae4d81 100644 (file)
@@ -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'