]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/pan1321/pd.py
uart: Emit databyte and bits list at the same time.
[libsigrokdecode.git] / decoders / pan1321 / pd.py
index 60e754914d28319b6baece23288ca7011563fbc2..b70defc4f852b70b9831ef38529c38488bbb8fa8 100644 (file)
@@ -136,6 +136,9 @@ class Decoder(srd.Decoder):
         if ptype != 'DATA':
             return
 
+        # We're only interested in the byte value (not individual bits).
+        pdata = pdata[0]
+
         # If this is the start of a command/reply, remember the start sample.
         if self.cmd[rxtx] == '':
             self.ss_block = ss