summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-01-17 03:39:28 +0100
committerBert Vermeulen <bert@biot.com>2012-01-17 03:39:28 +0100
commit79c4f9b987329587fd388d49015921ab4f9553bd (patch)
tree3e26bdeb6c48fca5c96db99eed5b624765d18228
parent0bdadba205a6d7688a2bb8d98ab342abe22acd6e (diff)
downloadlibsigrokdecode-79c4f9b987329587fd388d49015921ab4f9553bd.tar.gz
libsigrokdecode-79c4f9b987329587fd388d49015921ab4f9553bd.zip
I2C: no need to copy default option values over from the class
definition anymore: it happens automagically.
-rw-r--r--decoders/i2c/i2c.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/decoders/i2c/i2c.py b/decoders/i2c/i2c.py
index 270e0f3..4352c36 100644
--- a/decoders/i2c/i2c.py
+++ b/decoders/i2c/i2c.py
@@ -154,9 +154,6 @@ class Decoder(srd.Decoder):
self.oldscl = None
self.oldsda = None
- # Set protocol decoder option defaults.
- self.addressing = Decoder.options['addressing'][1]
-
def start(self, metadata):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2c')
self.out_ann = self.add(srd.OUTPUT_ANN, 'i2c')