summaryrefslogtreecommitdiff
path: root/decoders/i2c.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 22:12:46 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 22:12:46 +0100
commitd0e93c76e381eff58ca23949301f781b24ba4a8b (patch)
tree5b08a8a016bb28e1b91096444bd26168d4c83c79 /decoders/i2c.py
parent677d597b072c0a1d2df81c5c193cd3678aef8d03 (diff)
downloadlibsigrokdecode-d0e93c76e381eff58ca23949301f781b24ba4a8b.tar.gz
libsigrokdecode-d0e93c76e381eff58ca23949301f781b24ba4a8b.zip
srd: Drop useless out_ann/out_proto init.
If those variables are used before start() was called, that's a bug anyway.
Diffstat (limited to 'decoders/i2c.py')
-rw-r--r--decoders/i2c.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py
index 6982798..b8c56f7 100644
--- a/decoders/i2c.py
+++ b/decoders/i2c.py
@@ -149,8 +149,6 @@ class Decoder(srd.Decoder):
]
def __init__(self, **kwargs):
- self.out_proto = None
- self.out_ann = None
self.samplecnt = 0
self.bitcount = 0
self.databyte = 0