diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-28 00:42:45 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-28 00:42:45 +0100 |
commit | e4f822680083b65e34b9c8b091025f66ea6efde6 (patch) | |
tree | 244b1edc4f1fd4f44c88051caf867c8f57ab0452 /decoders/nunchuk | |
parent | 9d122fd5d66aa178547ec4222ab5f526f8a14cf7 (diff) | |
download | libsigrokdecode-e4f822680083b65e34b9c8b091025f66ea6efde6.tar.gz libsigrokdecode-e4f822680083b65e34b9c8b091025f66ea6efde6.zip |
srd: PDs: Whitespace and cosmetics.
Diffstat (limited to 'decoders/nunchuk')
-rw-r--r-- | decoders/nunchuk/nunchuk.py | 4 |
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: |