summaryrefslogtreecommitdiff
path: root/decoders/usb_power_delivery
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/usb_power_delivery')
-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 9368429..7c26768 100644
--- a/decoders/usb_power_delivery/pd.py
+++ b/decoders/usb_power_delivery/pd.py
@@ -270,7 +270,7 @@ class Decoder(srd.Decoder):
if pos in self.stored_pdos.keys():
t_pdo = '#%d: %s' % (pos, self.stored_pdos[pos])
else:
- t_pdo = '#d' % (pos)
+ t_pdo = '#%d' % (pos)
return '(PDO %s) %s%s' % (t_pdo, t_settings, t_flags)