]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/ade77xx/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / ade77xx / pd.py
index 5a24a25e5091dea3f1c8ac8c8a09196b1e9aa866..5421cf47a708c6d1694d22d869ccb39cfe4ac962 100644 (file)
@@ -36,13 +36,13 @@ class Decoder(srd.Decoder):
     outputs = []
     tags = ['Analog/digital', 'IC', 'Sensor']
     annotations = (
-        ('read', 'Register read commands'),
-        ('write', 'Register write commands'),
-        ('warning', 'Warnings'),
+        ('read', 'Register read'),
+        ('write', 'Register write'),
+        ('warning', 'Warning'),
     )
     annotation_rows = (
-        ('read', 'Read', (0,)),
-        ('write', 'Write', (1,)),
+        ('reads', 'Reads', (0,)),
+        ('writes', 'Writes', (1,)),
         ('warnings', 'Warnings', (2,)),
     )