summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2cfilter')
-rw-r--r--decoders/i2cfilter/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py
index 4b17efa..c0f9a0b 100644
--- a/decoders/i2cfilter/pd.py
+++ b/decoders/i2cfilter/pd.py
@@ -47,7 +47,7 @@ class Decoder(srd.Decoder):
self.curdirection = None
self.packets = [] # Local cache of I2C packets
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2c')
if self.options['address'] not in range(0, 127 + 1):
raise Exception('Invalid slave (must be 0..127).')