diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-25 22:11:38 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-01-25 23:49:32 +0100 |
commit | decde15ecb51b3326b31019af61e0a729b9c61d0 (patch) | |
tree | 362aefd1a9759731bdf8ee2cc3d533c83a7faa9a /decoders/i2cdemux | |
parent | 385508e9b12d87519f9144a67e7682b46a592200 (diff) | |
download | libsigrokdecode-decde15ecb51b3326b31019af61e0a729b9c61d0.tar.gz libsigrokdecode-decde15ecb51b3326b31019af61e0a729b9c61d0.zip |
srd: All PDs: Various fixes, cosmetics.
- List all API methods and metadata variables in all PDs to make things
easier and more consistent for new PD writers.
- Fix probe assignment in a few PDs.
- Raise exceptions upon invalid states of the PD state machines (bug).
Diffstat (limited to 'decoders/i2cdemux')
-rw-r--r-- | decoders/i2cdemux/i2cdemux.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/i2cdemux/i2cdemux.py b/decoders/i2cdemux/i2cdemux.py index ff597fe..4926160 100644 --- a/decoders/i2cdemux/i2cdemux.py +++ b/decoders/i2cdemux/i2cdemux.py @@ -38,6 +38,7 @@ class Decoder(srd.Decoder): inputs = ['i2c'] outputs = [] # TODO: Only known at run-time. probes = [] + extra_probes = [] options = {} annotations = [] @@ -87,4 +88,6 @@ class Decoder(srd.Decoder): self.packets = [] self.stream = -1 + else: + pass # Do nothing, only add the I2C packet to our cache. |