summaryrefslogtreecommitdiff
path: root/decoders/usb_packet/pd.py
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/usb_packet/pd.py
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/usb_packet/pd.py')
-rw-r--r--decoders/usb_packet/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index d799cd5..5b3c5e6 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -176,7 +176,7 @@ class Decoder(srd.Decoder):
self.put(self.ss_packet, self.es_packet, self.out_ann, data)
def start(self):
- self.out_proto = self.add(srd.OUTPUT_PROTO, 'usb_packet')
+ self.out_proto = self.add(srd.OUTPUT_PYTHON, 'usb_packet')
self.out_ann = self.add(srd.OUTPUT_ANN, 'usb_packet')
def report(self):