summaryrefslogtreecommitdiff
path: root/decoders/pan1321
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/pan1321')
-rw-r--r--decoders/pan1321/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py
index 60e7549..b70defc 100644
--- a/decoders/pan1321/pd.py
+++ b/decoders/pan1321/pd.py
@@ -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