diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-30 18:33:32 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-01-01 01:59:46 +0100 |
commit | e144452bcdd5f2abbe6b6f3da41ad64f67e39def (patch) | |
tree | c6bfbc9325b8dca5f6a8dd196ae434bda5126e41 /decoders/usb_power_delivery | |
parent | a0cbf8298d761a3615fe3c9c444b7517b437920f (diff) | |
download | libsigrokdecode-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.py | 10 |
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'), |