]> sigrok.org Git - libsigrokdecode.git/commitdiff
lpc: Define annotation rows.
authorUwe Hermann <redacted>
Sat, 1 Feb 2014 22:38:25 +0000 (23:38 +0100)
committerUwe Hermann <redacted>
Sat, 1 Feb 2014 22:38:25 +0000 (23:38 +0100)
decoders/lpc/pd.py

index 788d61ff497dcfe9358e505723fa23c83bb2fce7..7153110a91c4cf91333014c9ad386802087b1665 100644 (file)
@@ -132,6 +132,10 @@ class Decoder(srd.Decoder):
         ['data', 'Data'],
         ['tar2', 'Turn-around cycle 2'],
     ]
+    annotation_rows = (
+        ('data', 'Data', (1, 2, 3, 4, 5, 6, 7)),
+        ('warnings', 'Warnings', (0,)),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IDLE'