]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/dsi/pd.py
dsi: Add a TODO comment for proper self.wait() usage.
[libsigrokdecode.git] / decoders / dsi / pd.py
index ea27079cecdee9c27d661f7193e94eac1a0fb97e..c7cab8082c37f94e1e85bca09781572117e41833 100644 (file)
@@ -111,6 +111,7 @@ class Decoder(srd.Decoder):
             raise SamplerateError('Cannot decode without samplerate.')
         bit = 0
         while True:
+            # TODO: Come up with more appropriate self.wait() conditions.
             (self.dsi,) = self.wait()
             if self.options['polarity'] == 'active-high':
                 self.dsi ^= 1 # Invert.