]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/parallel/pd.py
adxl345: Use SrdIntEnum for annotation classes.
[libsigrokdecode.git] / decoders / parallel / pd.py
index 0e81344855a204c2407cc285f6102e2f3dc14943..8f23aa836e9f985ca456287a62d9d29f3365cef9 100644 (file)
@@ -75,6 +75,7 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['logic']
     outputs = ['parallel']
+    tags = ['Util']
     optional_channels = channel_list(NUM_CHANNELS)
     options = (
         {'id': 'clock_edge', 'desc': 'Clock edge to sample on',
@@ -85,8 +86,8 @@ class Decoder(srd.Decoder):
             'default': 'little', 'values': ('little', 'big')},
     )
     annotations = (
-        ('items', 'Items'),
-        ('words', 'Words'),
+        ('item', 'Item'),
+        ('word', 'Word'),
     )
     annotation_rows = (
         ('items', 'Items', (0,)),