summaryrefslogtreecommitdiff
path: root/decoders/srd_usb.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/srd_usb.py')
-rw-r--r--decoders/srd_usb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/srd_usb.py b/decoders/srd_usb.py
index c68e82b..c97ef73 100644
--- a/decoders/srd_usb.py
+++ b/decoders/srd_usb.py
@@ -123,8 +123,8 @@ class Decoder(sigrokdecode.Decoder):
def start(self, metadata):
self.rate = metadata['samplerate']
- # self.out_proto = self.add(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'usb')
- self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'usb')
+ # self.out_proto = self.add(sigrokdecode.SRD_OUTPUT_PROTO, 'usb')
+ self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANN, 'usb')
if self.rate < 48000000:
raise Exception("Sample rate not sufficient for USB decoding")
# Initialise decoder state.