diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-22 21:56:17 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-26 14:38:18 +0200 |
commit | ba8529ae88c89ec5c135d3a93b4c072fea53fbd1 (patch) | |
tree | 4636ad74a36f5d4d8dd93f0d869d4f3fadb55025 /decoders/ad5626/__init__.py | |
parent | 7ecd283cfb0dd5d1c1df267bfa7bcd3f1a80b560 (diff) | |
download | libsigrokdecode-ba8529ae88c89ec5c135d3a93b4c072fea53fbd1.tar.gz libsigrokdecode-ba8529ae88c89ec5c135d3a93b4c072fea53fbd1.zip |
can: amend recently added Python output feature
Adjust nits in the previous commit which added Python output to the CAN
decoder. Rename the routine to .putpy() for consistency with other PDs.
Avoid the 'bytes' identifier as it ships with Python as a data type.
Rephrase the construction of the tuple for Python output, to become more
explicit and help reviewers. Partially "undo" the rtr rename, to reduce
diffs to the previous version (see diff HEAD~2 to see the essence). Fix
up a three space indentation issue (which was there before the addition
of Python output).
Diffstat (limited to 'decoders/ad5626/__init__.py')
0 files changed, 0 insertions, 0 deletions