summaryrefslogtreecommitdiff
path: root/decoders/onewire_network/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-02-22 10:28:54 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-18 15:48:50 +0200
commite8e8bec61ce9b855c078e2ca1de55f648af5204a (patch)
treea1249b73ec79e1e3389d28cbf957b95953e7f45b /decoders/onewire_network/pd.py
parent4032deddd46665c16254abfd7729753930f0c32e (diff)
downloadlibsigrokdecode-e8e8bec61ce9b855c078e2ca1de55f648af5204a.tar.gz
libsigrokdecode-e8e8bec61ce9b855c078e2ca1de55f648af5204a.zip
ir_irmp: touch up the IRMP based decoder implementation (Python side)
Address Python and sigrok project coding style nits in the IRMP based decoder for infrared signals. Re-add the attribution which was lost in a previous copy and forgotten in the recent submission. Eliminate camel case identifiers and adjust to the simplified Python binding API. Drop remaining diagnostics from development and dead code (unused carrier detection). Reword the boilerplate text to match other decoders. Avoid Python f-strings since they are not portable. Prefer slightly less cryptic variable names in the construction of annotation texts. Defer the creation of the library instance until actual decoder use. Start inspecting the input data at the very first samples in the input stream.
Diffstat (limited to 'decoders/onewire_network/pd.py')
0 files changed, 0 insertions, 0 deletions