From: Uwe Hermann Date: Tue, 31 Dec 2019 23:18:09 +0000 (+0100) Subject: xfp: Add annotation rows. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7b37cec33ac7ab2d121c463f6cb278cac1b0401e;p=libsigrokdecode.git xfp: Add annotation rows. --- 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()