diff options
author | Ryan Jarvis <ryan@shopboxretail.com> | 2019-01-18 23:49:47 -0800 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-01-30 00:08:39 +0100 |
commit | 2eeca7bd81d1d8c9c82e33d1896f081a9a095363 (patch) | |
tree | e50db8bffd99bf15e7403a7519f08fbaed6e7c65 /decoders/usb_power_delivery | |
parent | 5cae425270c1cf119591b9885cd212fa9c5ca7c6 (diff) | |
download | libsigrokdecode-2eeca7bd81d1d8c9c82e33d1896f081a9a095363.tar.gz libsigrokdecode-2eeca7bd81d1d8c9c82e33d1896f081a9a095363.zip |
Fix obvious typos with string formatters
Diffstat (limited to 'decoders/usb_power_delivery')
-rw-r--r-- | decoders/usb_power_delivery/pd.py | 2 |
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) |