From decde15ecb51b3326b31019af61e0a729b9c61d0 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 25 Jan 2012 22:11:38 +0100 Subject: 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). --- decoders/i2cdemux/i2cdemux.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'decoders/i2cdemux') 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. -- cgit v1.2.3-70-g09d2