summaryrefslogtreecommitdiff
path: root/decoders/usb/usb.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:41:46 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-15 20:48:11 +0100
commita2c2afd9357fab233a4f09531618faa81d54d4d9 (patch)
tree83adc417308ca8afd4181bd2262af89bf360bd53 /decoders/usb/usb.py
parent64c29e28e0efa184319f7831b3eca18c7f73f7d0 (diff)
downloadlibsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.tar.gz
libsigrokdecode-a2c2afd9357fab233a4f09531618faa81d54d4d9.zip
srd: Add 'api_version = 1' to all PDs.
Diffstat (limited to 'decoders/usb/usb.py')
-rw-r--r--decoders/usb/usb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoders/usb/usb.py b/decoders/usb/usb.py
index 073fe01..2df03c0 100644
--- a/decoders/usb/usb.py
+++ b/decoders/usb/usb.py
@@ -105,6 +105,7 @@ def packet_decode(packet):
return pid + ' ' + data
class Decoder(srd.Decoder):
+ api_version = 1
id = 'usb'
name = 'USB'
longname = 'Universal Serial Bus'