diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-17 23:04:34 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-18 15:48:50 +0200 |
commit | 8c3291c74998bddac4b355d2ffbaf94e22bad3a7 (patch) | |
tree | 4bfaac9d36777cddd650d963c7be40f741037171 /decoders/ltc26x7/__init__.py | |
parent | e8e8bec61ce9b855c078e2ca1de55f648af5204a (diff) | |
download | libsigrokdecode-8c3291c74998bddac4b355d2ffbaf94e22bad3a7.tar.gz libsigrokdecode-8c3291c74998bddac4b355d2ffbaf94e22bad3a7.zip |
ir_irmp: add support for button "release" flag
Recent upstream IRMP core versions introduced a "release" flag in
addition to the "repeat" flag. Prepare the decoder to present these
flags when libraries should pass them in results.
The flags' being orthogonal slightly complicates the logic which
constructs annotation texts. Do provide text variants for all previously
supported zoom levels, yet try to keep the implementation as simple as
possible: Match list lengths for simplified folding. Always print the
flags field even if none of the flags is active (kind of was done before
this change as well, just not visible). This approach easily accepts
more flags as needed in future versions.
Diffstat (limited to 'decoders/ltc26x7/__init__.py')
0 files changed, 0 insertions, 0 deletions