From 8915b34659332288aab38780d8f10d75c4c83e7f Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Wed, 30 Oct 2013 22:35:41 +0100 Subject: The start() method no longer takes a metadata parameter --- decoders/i2cfilter/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/i2cfilter') 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).') -- cgit v1.2.3-70-g09d2