]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk/pd.py
All PDs: Consistent naming/case for annotation shortnames/IDs.
[libsigrokdecode.git] / decoders / nunchuk / pd.py
index 90c23d2b4a3d57ac5849763ed27b3f8a6fa94ea2..01563c28a17b4a0dfe8eb749beddd43a4efd6e82 100644 (file)
@@ -33,9 +33,9 @@ class Decoder(srd.Decoder):
     optional_probes = []
     options = {}
     annotations = [
-        ['Text (verbose)', 'Human-readable text (verbose)'],
-        ['Text', 'Human-readable text'],
-        ['Warnings', 'Human-readable warnings'],
+        ['text-verbose', 'Human-readable text (verbose)'],
+        ['text', 'Human-readable text'],
+        ['warnings', 'Human-readable warnings'],
     ]
 
     def __init__(self, **kwargs):