diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-22 15:12:07 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-01-01 22:15:51 +0100 |
commit | 6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7 (patch) | |
tree | 118df61477c6e592492a54efcf1e0b9bca3c6ac5 /decoders/eeprom24xx/__init__.py | |
parent | b0ac80e2f0a147ddaeab525604d8b0cacf0fd6cd (diff) | |
download | libsigrokdecode-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/eeprom24xx/__init__.py')
0 files changed, 0 insertions, 0 deletions