summaryrefslogtreecommitdiff
path: root/decoders/usb_power_delivery
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-30 18:33:32 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-01 01:59:46 +0100
commite144452bcdd5f2abbe6b6f3da41ad64f67e39def (patch)
treec6bfbc9325b8dca5f6a8dd196ae434bda5126e41 /decoders/usb_power_delivery
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.tar.gz
libsigrokdecode-e144452bcdd5f2abbe6b6f3da41ad64f67e39def.zip
All PDs: Consistently use singular/plural for annotation classes/rows.
Diffstat (limited to 'decoders/usb_power_delivery')
-rw-r--r--decoders/usb_power_delivery/pd.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/decoders/usb_power_delivery/pd.py b/decoders/usb_power_delivery/pd.py
index d9209bf..87ed554 100644
--- a/decoders/usb_power_delivery/pd.py
+++ b/decoders/usb_power_delivery/pd.py
@@ -223,7 +223,7 @@ class Decoder(srd.Decoder):
('crc', 'Checksum'),
('eop', 'End Of Packet'),
('sym', '4b5b symbols'),
- ('warnings', 'Warnings'),
+ ('warning', 'Warning'),
('src', 'Source Message'),
('snk', 'Sink Message'),
('payload', 'Payload'),
@@ -231,11 +231,11 @@ class Decoder(srd.Decoder):
)
annotation_rows = (
('4b5b', 'Symbols', (7,)),
- ('phase', 'Parts', (1, 2, 3, 4, 5, 6)),
- ('payload', 'Payload', (11,)),
- ('type', 'Type', (0, 9, 10)),
+ ('parts', 'Parts', (1, 2, 3, 4, 5, 6)),
+ ('payloads', 'Payloads', (11,)),
+ ('types', 'Types', (0, 9, 10)),
('warnings', 'Warnings', (8,)),
- ('text', 'Full text', (12,)),
+ ('texts', 'Full text', (12,)),
)
binary = (
('raw-data', 'RAW binary data'),