summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-01-01 00:18:09 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-01 02:00:33 +0100
commit7b37cec33ac7ab2d121c463f6cb278cac1b0401e (patch)
treef96ccc3e2886e562c658d844d808908befca6238
parent79f5cbcfe332be55fb08d31618c086ee9282eb3d (diff)
downloadlibsigrokdecode-7b37cec33ac7ab2d121c463f6cb278cac1b0401e.tar.gz
libsigrokdecode-7b37cec33ac7ab2d121c463f6cb278cac1b0401e.zip
xfp: Add annotation rows.
-rw-r--r--decoders/xfp/pd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py
index e217d7d..86f1e9d 100644
--- a/decoders/xfp/pd.py
+++ b/decoders/xfp/pd.py
@@ -36,6 +36,10 @@ class Decoder(srd.Decoder):
('field-name-and-val', 'Field name and value'),
('field-val', 'Field value'),
)
+ annotation_rows = (
+ ('field-names-and-vals', 'Field names and values', (0,)),
+ ('field-vals', 'Field values', (1,)),
+ )
def __init__(self):
self.reset()