]> sigrok.org Git - libsigrokdecode.git/commit
parallel: address minor style nits, no change in behaviour
authorGerhard Sittig <redacted>
Fri, 22 Dec 2017 14:12:07 +0000 (15:12 +0100)
committerUwe Hermann <redacted>
Mon, 1 Jan 2018 21:15:51 +0000 (22:15 +0100)
commit6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7
tree118df61477c6e592492a54efcf1e0b9bca3c6ac5
parentb0ac80e2f0a147ddaeab525604d8b0cacf0fd6cd
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.
decoders/parallel/pd.py