diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-04-16 21:15:13 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-04-24 21:28:59 +0200 |
commit | cb67584195ed543adf090c9299d28e9f7f89f861 (patch) | |
tree | 85bb8e09663ba9925a3398d6bd54ba2952d48cd8 /decoders/can/__init__.py | |
parent | 40935087ca8a2c63fb224228c3f7dcbe74d48d20 (diff) | |
download | libsigrokdecode-cb67584195ed543adf090c9299d28e9f7f89f861.tar.gz libsigrokdecode-cb67584195ed543adf090c9299d28e9f7f89f861.zip |
dcf77: annotate unexpected bit numbers and values, do not abort execution
Improve robustness of the DCF77 decoder. Cope with "neiter 0 nor 1" bit
values (glitches can break the detection of pulse widths), as well as
unexpected bit numbers (more than 59 pulses per minute, can be a
follow-up error after e.g. glitches break one long pulse into two short
pulses). Do not process this invalid data, do emit error annotations.
Diffstat (limited to 'decoders/can/__init__.py')
0 files changed, 0 insertions, 0 deletions