diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-26 08:45:32 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-26 08:46:32 +0200 |
commit | 24490b8aa7cf2631402a3396cb466255e470db26 (patch) | |
tree | 76bbfc95519752550d36db2b0fe44d9f73d32183 /decoders/aud/__init__.py | |
parent | 5881582c4bc00bdcee859dd9dd870d763a3c225f (diff) | |
download | libsigrokdecode-24490b8aa7cf2631402a3396cb466255e470db26.tar.gz libsigrokdecode-24490b8aa7cf2631402a3396cb466255e470db26.zip |
ir_nec: improve robustness, present more data on invalid input
Don't terminate IR frame inspection when successfully decoded fields
fail the validity check. Reset internal state on long periods of idle
level instead (beware of the late detection of the STOP condition).
Unconditionally annotate received fields, and optionally amend them with
a warning annotation. It's unexpected to not see the address field value
at all just because the number was not acceptable for the potentially
incorrect protocol selection.
Rename a variable in the decode() routine. The 'b' identifier suggested
a bit value, but it was used for the pulse width.
Diffstat (limited to 'decoders/aud/__init__.py')
0 files changed, 0 insertions, 0 deletions