]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/tdm_audio/pd.py
adxl345: Use SrdIntEnum for annotation classes.
[libsigrokdecode.git] / decoders / tdm_audio / pd.py
index 6c5869bd9118bc8c4165702caef0529f5fba219d..e805706f80703a30f83f153d51cf010d8a82a2db 100644 (file)
@@ -42,7 +42,7 @@ class Decoder(srd.Decoder):
         {'id': 'edge', 'desc': 'Clock edge to sample on', 'default': 'rising', 'values': ('rising', 'falling') }
     )
     annotations = tuple(('ch%d' % i, 'Ch%d' % i) for i in range(MAX_CHANNELS))
-    annotation_rows = tuple(('ch%d' % i, 'Ch%d' % i, (i,)) for i in range(MAX_CHANNELS))
+    annotation_rows = tuple(('ch%d-vals' % i, 'Ch%d' % i, (i,)) for i in range(MAX_CHANNELS))
 
     def __init__(self):
         self.reset()