diff options
Diffstat (limited to 'decoders/parallel/pd.py')
-rw-r--r-- | decoders/parallel/pd.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 43c5d54..cae269f 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -59,7 +59,7 @@ def probe_list(num_probes): for i in range(num_probes): d = {'id': 'd%d' % i, 'name': 'D%d' % i, 'desc': 'Data line %d' % i} l.append(d) - return l + return tuple(l) class Decoder(srd.Decoder): api_version = 1 @@ -79,10 +79,10 @@ class Decoder(srd.Decoder): {'id': 'endianness', 'desc': 'Endianness of the data', 'default': 'little', 'values': ('little', 'big')}, ) - annotations = [ - ['items', 'Items'], - ['words', 'Words'], - ] + annotations = ( + ('items', 'Items'), + ('words', 'Words'), + ) def __init__(self): self.oldclk = None |