summaryrefslogtreecommitdiff
path: root/decoders/usb_packet/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-03-12 00:51:06 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-03-12 01:11:07 +0100
commitb0918d40e285e7782f4e86356c41648dc748e477 (patch)
treee865ff66623b9a0a621d3776e8d8b2b47f8e95d8 /decoders/usb_packet/pd.py
parent4e4f8527de0927f2eb1d98e90b58e018ba28d341 (diff)
downloadlibsigrokdecode-b0918d40e285e7782f4e86356c41648dc748e477.tar.gz
libsigrokdecode-b0918d40e285e7782f4e86356c41648dc748e477.zip
Various PDs: Minor option related fixes.
Diffstat (limited to 'decoders/usb_packet/pd.py')
-rw-r--r--decoders/usb_packet/pd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index 61acd4f..5dbbcdb 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -152,7 +152,8 @@ class Decoder(srd.Decoder):
inputs = ['usb_signalling']
outputs = ['usb_packet']
options = (
- {'id': 'signalling', 'desc': 'Signalling', 'default': 'full-speed'},
+ {'id': 'signalling', 'desc': 'Signalling',
+ 'default': 'full-speed', 'values': ('full-speed', 'low-speed')},
)
annotations = (
('sync-ok', 'SYNC'),