summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2cfilter/pd.py')
-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 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'):