]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2cdemux/i2cdemux.py
srd: List 'report()' in all PDs for consistency.
[libsigrokdecode.git] / decoders / i2cdemux / i2cdemux.py
index c4c0d3b09fe68150415aa744eda3f24adf640fc7..6f2964933fbea75d379397ca9552729a7644173e 100644 (file)
@@ -26,7 +26,7 @@ class Decoder(srd.Decoder):
     api_version = 1
     id = 'i2cdemux'
     name = 'I2C demux'
-    longname = 'Generic I2C demultiplexer'
+    longname = 'I2C demultiplexer'
     desc = 'TODO.'
     longdesc = 'TODO.'
     license = 'gplv2+'
@@ -57,7 +57,7 @@ class Decoder(srd.Decoder):
     # get the whole chunk of packets (from START to STOP).
     def decode(self, ss, es, data):
 
-        cmd, databyte, ack = data
+        cmd, databyte = data
 
         # Add the I2C packet to our local cache.
         self.packets.append([ss, es, data])