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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/srd_usb.py b/decoders/srd_usb.py
index 128b337..07fc732 100644
--- a/decoders/srd_usb.py
+++ b/decoders/srd_usb.py
@@ -111,6 +111,7 @@ def packet_decode(packet):
return pid + ' ' + data
class Decoder():
+ id = 'usb'
name = 'USB'
desc = 'Universal Serial Bus'
longname = '...longname...'
@@ -184,3 +185,5 @@ class Decoder():
self.scount = 0
self.sym = sym
+sigrok.register(Decoder)
+