summaryrefslogtreecommitdiff
path: root/decoders/i2cdemux
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-11-05 11:21:33 +0100
committerBert Vermeulen <bert@biot.com>2013-11-07 22:47:42 +0100
commitf2a5df42ea41e6c4370d4efa1a27ab942ba1ddff (patch)
tree2e62755d1bcbbdb1bd0742eec7f9bed21b28bb7a /decoders/i2cdemux
parent98e0b79b9fd2abf076054abc5f25c184b436cb87 (diff)
downloadlibsigrokdecode-f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff.tar.gz
libsigrokdecode-f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff.zip
Rename inter-PD output type to SRD_OUTPUT_PYTHON
This better reflects what it is: a python object generated and processed by python code.
Diffstat (limited to 'decoders/i2cdemux')
-rw-r--r--decoders/i2cdemux/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2cdemux/pd.py b/decoders/i2cdemux/pd.py
index b075129..1e1d09c 100644
--- a/decoders/i2cdemux/pd.py
+++ b/decoders/i2cdemux/pd.py
@@ -68,7 +68,7 @@ class Decoder(srd.Decoder):
# We're never seen this slave, add a new stream.
self.slaves.append(databyte)
- self.out_proto.append(self.add(srd.OUTPUT_PROTO,
+ self.out_proto.append(self.add(srd.OUTPUT_PYTHON,
'i2c-%s' % hex(databyte)))
self.stream = self.streamcount
self.streamcount += 1