diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-20 22:21:30 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-22 20:21:24 +0200 |
commit | c449c5832bb560ca543b9d6c962c405d1a227312 (patch) | |
tree | cc4ed833c6bf3c0f09e3ccef5ba888a4650301c8 /decoders/usb_request/pd.py | |
parent | 3e10fce7f87ff1bae97241a8b8f9d3602c3bfe8a (diff) | |
download | libsigrokdecode-c449c5832bb560ca543b9d6c962c405d1a227312.tar.gz libsigrokdecode-c449c5832bb560ca543b9d6c962c405d1a227312.zip |
ir_sirc: fixup decoder boilerplate
The SIRC decoder was written to an older API, and failed to load in a
recent environment (tag missing, ambiguous annotation names). Unbreak
the decoder's boilerplate, and address other nits while we are here:
There is no Python output. Use the same declaration syntax as in other
decoders for improved maintenance (greppability). Call reset() from
__init__() to avoid surprises when a future version does have vars. Do
provide a doc string in the module initialization, to keep the URL for
the protocol description at hand.
Diffstat (limited to 'decoders/usb_request/pd.py')
0 files changed, 0 insertions, 0 deletions