summaryrefslogtreecommitdiff
path: root/decoders/cec/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/cec/pd.py')
-rw-r--r--decoders/cec/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/cec/pd.py b/decoders/cec/pd.py
index a742f81..4028b7e 100644
--- a/decoders/cec/pd.py
+++ b/decoders/cec/pd.py
@@ -136,7 +136,7 @@ class Decoder(srd.Decoder):
(src, dst) = decode_header(self.cmd_bytes[i]['val'])
str = 'HDR: ' + src + ', ' + dst
elif i == 1: # Parse opcode
- str += ' | OPC: ' + decode_opcode(self.cmd_bytes[i]['val'])
+ str += ' | OPC: ' + opcodes.get(self.cmd_bytes[i]['val'], 'Invalid')
else: # Parse operands
if operands == 0:
str += ' | OPS: '