summaryrefslogtreecommitdiff
path: root/decoders/ssi32/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2017-12-22 15:12:07 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-01-01 22:15:51 +0100
commit6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7 (patch)
tree118df61477c6e592492a54efcf1e0b9bca3c6ac5 /decoders/ssi32/pd.py
parentb0ac80e2f0a147ddaeab525604d8b0cacf0fd6cd (diff)
downloadlibsigrokdecode-6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7.tar.gz
libsigrokdecode-6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7.zip
parallel: address minor style nits, no change in behaviour
Remove the redundant .itemcount variable, which exactly corresponds to the length of the .items array. Arrange retrieval of options and their evaluation closer to each other for improved readability. Use common logic to construct "words" from several multi-bit "items". Arrange for endianess support by optionally reversing the array before traversal.
Diffstat (limited to 'decoders/ssi32/pd.py')
0 files changed, 0 insertions, 0 deletions