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/graycode | |
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/graycode')
-rw-r--r-- | decoders/graycode/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/graycode/pd.py b/decoders/graycode/pd.py index 055908c..f3d45ab 100644 --- a/decoders/graycode/pd.py +++ b/decoders/graycode/pd.py @@ -94,12 +94,12 @@ class Decoder(srd.Decoder): ('phase', 'Phase'), ('increment', 'Increment'), ('count', 'Count'), - ('turns', 'Turns'), + ('turn', 'Turn'), ('interval', 'Interval'), ('average', 'Average'), ('rpm', 'Rate'), ) - annotation_rows = tuple((u, v, (i,)) for i, (u, v) in enumerate(annotations)) + annotation_rows = tuple((u + 's', v + 's', (i,)) for i, (u, v) in enumerate(annotations)) def __init__(self): self.reset() |