diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-22 14:48:37 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-01-01 22:15:51 +0100 |
commit | a0b7e07f5576605141e543f9d81a220a920edc27 (patch) | |
tree | a1a73576180cd3398ca886645819030834f145cd /decoders/adns5020/__init__.py | |
parent | 6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7 (diff) | |
download | libsigrokdecode-a0b7e07f5576605141e543f9d81a220a920edc27.tar.gz libsigrokdecode-a0b7e07f5576605141e543f9d81a220a920edc27.zip |
parallel: cope with sparse input mappings, assume zero for not-connected pins
Cope when users only provide e.g. input lines D0 and D2 to the parallel
decoder. Assume that not-connected pins are "always zero".
Rephrase the .decode() logic which determines .wait() conditions while
we are here, to slightly unobfuscate the implementation.
This fixes bug #1088.
Diffstat (limited to 'decoders/adns5020/__init__.py')
0 files changed, 0 insertions, 0 deletions