]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2cdemux/i2cdemux.py
srd: rename extra_probes to optional_probes in all PDs
[libsigrokdecode.git] / decoders / i2cdemux / i2cdemux.py
index ff597fe6d5e9d71b1fee93d08ec1eb58ccfcd776..354d06c23473f66c141d6eef0ce604515ff83c29 100644 (file)
@@ -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.