From f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff Mon Sep 17 00:00:00 2001
From: Bert Vermeulen <bert@biot.com>
Date: Tue, 5 Nov 2013 11:21:33 +0100
Subject: Rename inter-PD output type to SRD_OUTPUT_PYTHON

This better reflects what it is: a python object generated and
processed by python code.
---
 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 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'):
-- 
cgit v1.2.3-70-g09d2