summaryrefslogtreecommitdiff
path: root/decoders/usb_packet
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-16 16:27:08 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-16 16:27:08 +0200
commitb197383cfb39b39ff04644855eef57f5d3c18bc1 (patch)
tree2e83d21a65d6a8c3f5ad9ac3c3ce3ebe289dfa8e /decoders/usb_packet
parent6eb8f524817b3893632d9a651852f1fefe6fcd18 (diff)
downloadlibsigrokdecode-b197383cfb39b39ff04644855eef57f5d3c18bc1.tar.gz
libsigrokdecode-b197383cfb39b39ff04644855eef57f5d3c18bc1.zip
Mark all stacked decoders as being PD API version 3.
This is not really relevant for stacked PDs currently (they can be used unmodified with either PDv2 or PDv3 low-level decoders), but it'll allow us to drop PDv2 support completely.
Diffstat (limited to 'decoders/usb_packet')
-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 aab0c95..3983f2c 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -173,7 +173,7 @@ def calc_crc16(bitstr):
return reverse_number(crc16, 16)
class Decoder(srd.Decoder):
- api_version = 2
+ api_version = 3
id = 'usb_packet'
name = 'USB packet'
longname = 'Universal Serial Bus (LS/FS) packet'