summaryrefslogtreecommitdiff
path: root/decoders/usb_power_delivery/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-12-23 20:00:45 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2015-12-24 02:28:55 +0100
commit2824e81140d3a8e37464f758cf67f50f2f7afca7 (patch)
tree10b54864ae16f2d9233e2d799bad08481e481792 /decoders/usb_power_delivery/pd.py
parent0679f5bf9b2334deb75243abb80ef7e0d0472c18 (diff)
downloadlibsigrokdecode-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_power_delivery/pd.py')
-rw-r--r--decoders/usb_power_delivery/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/usb_power_delivery/pd.py b/decoders/usb_power_delivery/pd.py
index 034c4a9..da73661 100644
--- a/decoders/usb_power_delivery/pd.py
+++ b/decoders/usb_power_delivery/pd.py
@@ -524,7 +524,7 @@ class Decoder(srd.Decoder):
bitrate = self.samplerate*len(self.bits) / float(es - ss)
self.put(es, ss, self.out_bitrate, int(bitrate))
# Raw binary data (BMC decoded)
- self.put(es, ss, self.out_binary, (0, bytes(self.bits)))
+ self.put(es, ss, self.out_binary, [0, bytes(self.bits)])
def decode(self, ss, es, data):
if not self.samplerate: