summaryrefslogtreecommitdiff
path: root/decoders/i2c.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-12 22:49:41 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-12 22:49:41 +0100
commit2b9837d9fc5f9b4eca52327527e18db4bfb730ff (patch)
tree7be1a6c40202b1cd1c88afc8d588b354765f7559 /decoders/i2c.py
parent9a12a6e7af3d7091d8e35dd1c731402cb80a01b0 (diff)
downloadlibsigrokdecode-2b9837d9fc5f9b4eca52327527e18db4bfb730ff.tar.gz
libsigrokdecode-2b9837d9fc5f9b4eca52327527e18db4bfb730ff.zip
srd: decoders: Rename obsolete timeoffset/duration.
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