X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fi2cdemux%2Fi2cdemux.py;h=354d06c23473f66c141d6eef0ce604515ff83c29;hp=ff597fe6d5e9d71b1fee93d08ec1eb58ccfcd776;hb=b77614bc977475102062ac5d1c8fe8e55349315a;hpb=d567790b9c0ab30b18aceb92e6714e631200e9b9 diff --git a/decoders/i2cdemux/i2cdemux.py b/decoders/i2cdemux/i2cdemux.py index ff597fe..354d06c 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 = [] + optional_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.