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/spi/pd.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'decoders/spi') 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 = ( -- cgit v1.2.3-70-g09d2