summaryrefslogtreecommitdiff
path: root/decoders/em4305/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2017-12-22 14:48:37 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-01-01 22:15:51 +0100
commita0b7e07f5576605141e543f9d81a220a920edc27 (patch)
treea1a73576180cd3398ca886645819030834f145cd /decoders/em4305/__init__.py
parent6f7dd46d60a7ca2f1893f5a7d5fd7e87212743f7 (diff)
downloadlibsigrokdecode-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/em4305/__init__.py')
0 files changed, 0 insertions, 0 deletions