summaryrefslogtreecommitdiff
path: root/decoders/spi
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/spi
parenta0cbf8298d761a3615fe3c9c444b7517b437920f (diff)
downloadlibsigrokdecode-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.py14
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 = (