]> sigrok.org Git - libsigrokdecode.git/commitdiff
dcf77: annotate invalid dow and month fields, do not abort execution
authorGerhard Sittig <redacted>
Sun, 22 Apr 2018 08:07:07 +0000 (10:07 +0200)
committerUwe Hermann <redacted>
Tue, 24 Apr 2018 19:28:59 +0000 (21:28 +0200)
Emit error annotations for invalid day of the week or month numbers,
instead of aborting decoder execution with an exception.

Implementation detail: Neither the Python 'in' keyword nor a .get()
method are available. That's why we have to catch the IndexError
exception.

This fixes bug #1173.


No differences found