summaryrefslogtreecommitdiff
path: root/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.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/ebr30a_i2c_demux/ebr30a_i2c_demux.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/ebr30a_i2c_demux/ebr30a_i2c_demux.py')
-rw-r--r--decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py
index 50a1dbe..4c4a8e4 100644
--- a/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py
+++ b/decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py
@@ -64,7 +64,7 @@ class Decoder(srd.Decoder):
# get the whole chunk of packets (from START to STOP).
def decode(self, ss, es, data):
- cmd, databyte, ack_bit = data
+ cmd, databyte = data
# Add the I2C packet to our local cache.
self.packets.append([ss, es, data])