summaryrefslogtreecommitdiff
path: root/decoders/i2cdemux/i2cdemux.py
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-02-28 14:33:45 +0100
committerBert Vermeulen <bert@biot.com>2012-02-28 14:34:53 +0100
commit1b75abfdd3e00ef590c9d1905863f6f2cb5a8632 (patch)
tree025b2717965bfd449c7a6a2d2b1304882ea5abf3 /decoders/i2cdemux/i2cdemux.py
parent5154cadf4a143f6157a54aa4d2097dffe78c0f29 (diff)
downloadlibsigrokdecode-1b75abfdd3e00ef590c9d1905863f6f2cb5a8632.tar.gz
libsigrokdecode-1b75abfdd3e00ef590c9d1905863f6f2cb5a8632.zip
srd: I2C: change format to have ACK/NACK bits as separate events
Diffstat (limited to 'decoders/i2cdemux/i2cdemux.py')
-rw-r--r--decoders/i2cdemux/i2cdemux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2cdemux/i2cdemux.py b/decoders/i2cdemux/i2cdemux.py
index c4c0d3b..4632c8d 100644
--- a/decoders/i2cdemux/i2cdemux.py
+++ b/decoders/i2cdemux/i2cdemux.py
@@ -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])