]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/jitter/pd.py
Use a Python list (not tuple) for OUT_BINARY.
[libsigrokdecode.git] / decoders / jitter / pd.py
index d572c365c61423ec6f6278c33c1f3fa4c5ee98b0..d40c643ed64303fe7cffdc32f5c9822181c6010a 100644 (file)
@@ -112,7 +112,7 @@ class Decoder(srd.Decoder):
         # Format the delta to an ASCII float value terminated by a newline.
         x = str(delta) + '\n'
         self.put(self.clk_start, self.sig_start, self.out_bin,
-                 (0, x.encode('UTF-8')))
+                 [0, x.encode('UTF-8')])
 
     # Helper function for missed clock and signal annotations.
     def putm(self, data):