summaryrefslogtreecommitdiff
path: root/decoders/graycode
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/graycode')
-rw-r--r--decoders/graycode/pd.py4
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()