summaryrefslogtreecommitdiff
path: root/decoders/nunchuk.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/nunchuk.py')
-rw-r--r--decoders/nunchuk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py
index 4ac1c83..31de4ff 100644
--- a/decoders/nunchuk.py
+++ b/decoders/nunchuk.py
@@ -109,7 +109,7 @@ def decode2(inbuf):
az |= (p['data'] & (3 << 6)) >> 6
# del o
o = {'type': 'D', 'range': (0, 0), 'data': []}
- o['data'] = [sx, sy, ax, ay, az, bz, bc]
+ o['data'] = [sx, sy, ax, ay, az, bz, bc]
# sx = sy = ax = ay = az = bz = bc = 0
else:
pass # TODO