summaryrefslogtreecommitdiff
path: root/decoders/nunchuk
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-28 00:42:45 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-28 00:42:45 +0100
commite4f822680083b65e34b9c8b091025f66ea6efde6 (patch)
tree244b1edc4f1fd4f44c88051caf867c8f57ab0452 /decoders/nunchuk
parent9d122fd5d66aa178547ec4222ab5f526f8a14cf7 (diff)
downloadlibsigrokdecode-e4f822680083b65e34b9c8b091025f66ea6efde6.tar.gz
libsigrokdecode-e4f822680083b65e34b9c8b091025f66ea6efde6.zip
srd: PDs: Whitespace and cosmetics.
Diffstat (limited to 'decoders/nunchuk')
-rw-r--r--decoders/nunchuk/nunchuk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/nunchuk/nunchuk.py b/decoders/nunchuk/nunchuk.py
index f901905..cd6fa21 100644
--- a/decoders/nunchuk/nunchuk.py
+++ b/decoders/nunchuk/nunchuk.py
@@ -43,7 +43,7 @@ class Decoder(srd.Decoder):
optional_probes = [] # TODO
options = {}
annotations = [
- ['TODO', 'TODO'],
+ ['TODO', 'TODO'],
]
def __init__(self, **kwargs):
@@ -121,7 +121,7 @@ class Decoder(srd.Decoder):
if self.state == IDLE:
self.state = INITIALIZED
return
-
+
if databyte == 0x40 and self.state == START:
self.state = INIT
elif databyte == 0x00 and self.state == INIT: