From 1b75abfdd3e00ef590c9d1905863f6f2cb5a8632 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 28 Feb 2012 14:33:45 +0100 Subject: srd: I2C: change format to have ACK/NACK bits as separate events --- decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/ebr30a_i2c_demux/ebr30a_i2c_demux.py') 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]) -- cgit v1.2.3-70-g09d2