summaryrefslogtreecommitdiff
path: root/decoders/usb_power_delivery/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-09-09 15:20:50 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-09-09 15:22:03 +0200
commitd0d63deadf5b841199c42721bc498fc5c9a86126 (patch)
treeb10cfb02bbb1c4afa71efedda953a5bdb4c72707 /decoders/usb_power_delivery/pd.py
parent9d54b24eda40cf96c2d03890462b64c8363fb12b (diff)
downloadlibsigrokdecode-d0d63deadf5b841199c42721bc498fc5c9a86126.tar.gz
libsigrokdecode-d0d63deadf5b841199c42721bc498fc5c9a86126.zip
usb_power_delivery: Drop non-existing max_w for now.
Diffstat (limited to 'decoders/usb_power_delivery/pd.py')
-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 42425ac..cc0276a 100644
--- a/decoders/usb_power_delivery/pd.py
+++ b/decoders/usb_power_delivery/pd.py
@@ -257,7 +257,7 @@ class Decoder(srd.Decoder):
elif mark == 2:
op_w = ((rdo >> 10) & 0x3ff) * 0.25
mp_w = (rdo & 0x3ff) * 0.25
- t_settings = '%gW (operating) / %gW (max)' % (op_w, max_w)
+ t_settings = '%gW (operating)' % op_w
else:
op_a = ((rdo >> 10) & 0x3ff) * 0.01
max_a = (rdo & 0x3ff) * 0.01