]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/rgb_led_ws281x/pd.py
decoders: Rephrase condition-less .wait() calls (self documentation)
[libsigrokdecode.git] / decoders / rgb_led_ws281x / pd.py
index ca352838bbb92ab13662f1ca48142b696adf380c..5cf21245df91603ea53fcc0d0fcce6f0feb5f112 100644 (file)
@@ -76,7 +76,7 @@ class Decoder(srd.Decoder):
 
         while True:
             # TODO: Come up with more appropriate self.wait() conditions.
-            (pin,) = self.wait({'skip': 1})
+            (pin,) = self.wait()
 
             if self.oldpin is None:
                 self.oldpin = pin