X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fpan1321%2Fpd.py;h=9278ba09ad2cc2e38be1595cb1f7b1646df60eff;hb=2160cddd3b39903b3102976e1a8d324a15412c58;hp=e7ccd60378070035e57d76337034a8cd1814ddb8;hpb=780770f1295b7fdeb4481eb42623bad5da1e19a7;p=libsigrokdecode.git diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py index e7ccd60..9278ba0 100644 --- a/decoders/pan1321/pd.py +++ b/decoders/pan1321/pd.py @@ -33,11 +33,11 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['uart'] outputs = ['pan1321'] - 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 = ['', '']