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/spi | |
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/spi')
-rw-r--r-- | decoders/spi/pd.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 5f18d72..fd9a78f 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -105,19 +105,19 @@ class Decoder(srd.Decoder): annotations = ( ('miso-data', 'MISO data'), ('mosi-data', 'MOSI data'), - ('miso-bits', 'MISO bits'), - ('mosi-bits', 'MOSI bits'), - ('warnings', 'Human-readable warnings'), + ('miso-bit', 'MISO bit'), + ('mosi-bit', 'MOSI bit'), + ('warning', 'Warning'), ('miso-transfer', 'MISO transfer'), ('mosi-transfer', 'MOSI transfer'), ) annotation_rows = ( ('miso-bits', 'MISO bits', (2,)), - ('miso-data', 'MISO data', (0,)), - ('miso-transfer', 'MISO transfer', (5,)), + ('miso-data-vals', 'MISO data', (0,)), + ('miso-transfers', 'MISO transfers', (5,)), ('mosi-bits', 'MOSI bits', (3,)), - ('mosi-data', 'MOSI data', (1,)), - ('mosi-transfer', 'MOSI transfer', (6,)), + ('mosi-data-vals', 'MOSI data', (1,)), + ('mosi-transfers', 'MOSI transfers', (6,)), ('other', 'Other', (4,)), ) binary = ( |