summaryrefslogtreecommitdiff
path: root/decoders/nunchuk
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/nunchuk')
-rw-r--r--decoders/nunchuk/pd.py10
1 files changed, 5 insertions, 5 deletions
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'