X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fdsi%2Fpd.py;h=b5faf6f699b0ed111e87547db9551b135a641398;hb=7b0f3c78c5cda82b900937f3be2e08b063b84f3c;hp=ea27079cecdee9c27d661f7193e94eac1a0fb97e;hpb=5d6d8896ded87ce72b42e68c77120008b2d1b779;p=libsigrokdecode.git diff --git a/decoders/dsi/pd.py b/decoders/dsi/pd.py index ea27079..b5faf6f 100644 --- a/decoders/dsi/pd.py +++ b/decoders/dsi/pd.py @@ -47,7 +47,7 @@ class Decoder(srd.Decoder): ) annotation_rows = ( ('bits', 'Bits', (0,)), - ('raw', 'Raw data', (3,)), + ('raw-vals', 'Raw data', (3,)), ('fields', 'Fields', (1, 2)), ) @@ -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.