X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fpan1321%2Fpd.py;h=9278ba09ad2cc2e38be1595cb1f7b1646df60eff;hb=bee57ee84753471970f9b65b34e71c54a0558768;hp=f345506cdac69aea42cc258dcfe1a4dfa4c175e7;hpb=c515eed7ef7a04a42b5b34abd308e08d6942835e;p=libsigrokdecode.git diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py index f345506..9278ba0 100644 --- a/decoders/pan1321/pd.py +++ b/decoders/pan1321/pd.py @@ -33,14 +33,11 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['uart'] outputs = ['pan1321'] - probes = [] - optional_probes = [] - options = {} - annotations = [ - ['text-verbose', 'Human-readable text (verbose)'], - ['text', 'Human-readable text'], - ['warnings', 'Human-readable warnings'], - ] + annotations = ( + ('text-verbose', 'Human-readable text (verbose)'), + ('text', 'Human-readable text'), + ('warnings', 'Human-readable warnings'), + ) def __init__(self, **kwargs): self.cmd = ['', '']