summaryrefslogtreecommitdiff
path: root/decoders/i2c.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2c.py')
-rw-r--r--decoders/i2c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py
index 967899e..cfaacb0 100644
--- a/decoders/i2c.py
+++ b/decoders/i2c.py
@@ -269,7 +269,7 @@ class Decoder(srd.Decoder):
# TODO: 0-0 sample range for now.
super(Decoder, self).put(0, 0, output_id, data)
- def decode(self, timeoffset, duration, data):
+ def decode(self, ss, es, data):
for samplenum, (scl, sda) in data:
self.samplecnt += 1