diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-12-23 20:00:45 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-12-24 02:28:55 +0100 |
commit | 2824e81140d3a8e37464f758cf67f50f2f7afca7 (patch) | |
tree | 10b54864ae16f2d9233e2d799bad08481e481792 /decoders/usb_request | |
parent | 0679f5bf9b2334deb75243abb80ef7e0d0472c18 (diff) | |
download | libsigrokdecode-2824e81140d3a8e37464f758cf67f50f2f7afca7.tar.gz libsigrokdecode-2824e81140d3a8e37464f758cf67f50f2f7afca7.zip |
Use a Python list (not tuple) for OUT_BINARY.
This is more consistent with annotation syntax and looks slightly
better in most cases.
Diffstat (limited to 'decoders/usb_request')
-rw-r--r-- | decoders/usb_request/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/usb_request/pd.py b/decoders/usb_request/pd.py index 61dedb1..fa2e674 100644 --- a/decoders/usb_request/pd.py +++ b/decoders/usb_request/pd.py @@ -242,7 +242,7 @@ class Decoder(srd.Decoder): def write_pcap_header(self): if not self.wrote_pcap_header: - self.put(0, 0, self.out_bin, (0, self.pcap_global_header())) + self.put(0, 0, self.out_bin, [0, self.pcap_global_header()]) self.wrote_pcap_header = True def request_summary(self, request): |