summaryrefslogtreecommitdiff
path: root/decoders/usb_packet/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-04-16 21:15:13 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-04-24 21:28:59 +0200
commitcb67584195ed543adf090c9299d28e9f7f89f861 (patch)
tree85bb8e09663ba9925a3398d6bd54ba2952d48cd8 /decoders/usb_packet/pd.py
parent40935087ca8a2c63fb224228c3f7dcbe74d48d20 (diff)
downloadlibsigrokdecode-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/usb_packet/pd.py')
0 files changed, 0 insertions, 0 deletions