]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/miller/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / miller / pd.py
index 90c7c19af8bc4e9be79e30d7a6d0439255e320f3..33214b14f600833ac49032eddd2f2c03867b467a 100644 (file)
@@ -51,7 +51,7 @@ class Decoder(srd.Decoder):
         ('bit', 'Bit'),
         ('bitstring', 'Bitstring'),
     )
-    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))
     binary = (
         ('raw', 'Raw binary'),
     )