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/ebr30a_i2c_demux | |
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/ebr30a_i2c_demux')
-rw-r--r-- | decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py index 1c704e3..59649fd 100644 --- a/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py +++ b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py @@ -48,8 +48,9 @@ class Decoder(srd.Decoder): longdesc = 'TODO.' license = 'gplv2+' inputs = ['i2c'] - outputs = ['i2c-axp199', 'i2c-h8563s', 'i2c-accel'] + outputs = ['i2c-axp199', 'i2c-h8563s', 'i2c-accel'] # TODO: type vs. inst. probes = [] + extra_probes = [] options = {} annotations = [] @@ -102,4 +103,6 @@ class Decoder(srd.Decoder): print('Error: Could not determine correct stream!') # FIXME self.packets = [] self.stream = -1 + else: + pass # Do nothing, only add the I2C packet to our cache. |