X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fi2cfilter%2Fpd.py;h=4586cf7de77f5e8da2c529cb7ad4597e8f68b5b5;hp=c0f9a0b14c36ec1072c39c08c7f6f84d80da8f55;hb=f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff;hpb=98e0b79b9fd2abf076054abc5f25c184b436cb87 diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py index c0f9a0b..4586cf7 100644 --- a/decoders/i2cfilter/pd.py +++ b/decoders/i2cfilter/pd.py @@ -48,7 +48,7 @@ class Decoder(srd.Decoder): self.packets = [] # Local cache of I2C packets def start(self): - self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2c') + self.out_proto = self.add(srd.OUTPUT_PYTHON, 'i2c') if self.options['address'] not in range(0, 127 + 1): raise Exception('Invalid slave (must be 0..127).') if self.options['direction'] not in ('both', 'read', 'write'):