X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fi2cfilter%2Fpd.py;h=c0f9a0b14c36ec1072c39c08c7f6f84d80da8f55;hp=9c9c43aff8d5240994cfffd42331725e6f9b8183;hb=8915b34659332288aab38780d8f10d75c4c83e7f;hpb=24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5 diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index 9c9c43a..c0f9a0b 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Bert Vermeulen ## Copyright (C) 2012 Uwe Hermann @@ -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).')