diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-14 23:20:48 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-15 16:36:32 +0200 |
commit | e3163b299981d708fcbd418c1c6dab8c4a0af559 (patch) | |
tree | 47a1aa963e4aa1bb11e62567310a4558a38093df /decoders/dcf77 | |
parent | 09bca51125c4f7916b9f35e49e4f83895abf01ed (diff) | |
download | libsigrokdecode-e3163b299981d708fcbd418c1c6dab8c4a0af559.tar.gz libsigrokdecode-e3163b299981d708fcbd418c1c6dab8c4a0af559.zip |
dcf77: Fix bug in handling of DCF77 bit 0.
Diffstat (limited to 'decoders/dcf77')
-rw-r--r-- | decoders/dcf77/pd.py | 3 |
1 files changed, 0 insertions, 3 deletions
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' |