From e144452bcdd5f2abbe6b6f3da41ad64f67e39def Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 30 Dec 2019 18:33:32 +0100 Subject: All PDs: Consistently use singular/plural for annotation classes/rows. --- decoders/usb_power_delivery/pd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'decoders/usb_power_delivery/pd.py') 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'), -- cgit v1.2.3-70-g09d2