X-Git-Url: http://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fnunchuk%2Fpd.py;h=dfe9abe4e0a0d78a0fc4e03ccabc64a1f3ab0eee;hp=5fd01d2c9f81b18f5f3609d87a772772c0c73df7;hb=da9bcbd9f45b0153465c55ec726a0d76f6d7f01e;hpb=d1e2129c7b01a760d48bcc8e7fc12956a62698c1 diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index 5fd01d2..dfe9abe 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -29,11 +29,11 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['i2c'] outputs = ['nunchuck'] - 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.state = 'IDLE'