]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk/nunchuk.py
srd: PDs: Whitespace and cosmetics.
[libsigrokdecode.git] / decoders / nunchuk / nunchuk.py
index f9019050439a359727e2b3c7bd754d818f0d4616..cd6fa213cdaec5297dd9cf22c2ea86bfa96643e2 100644 (file)
@@ -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: