srd: Split USB decoder in two PDs (which stack).
[libsigrokdecode.git] / decoders / usb / usb.py
index 529868e2121ea6cb86ff07ccc1fcd992f0136723..c5b6a2efb548d848003769a555ea2ab141823045 100644 (file)
@@ -166,12 +166,12 @@ class Decoder(srd.Decoder):
             if sym == self.sym:
                 continue
 
-            if self.scount == 1:
-                # We ignore single sample width "pulses", i.e., symbol changes
-                # (D+/D- line changes). I sometimes get these with the OLS.
-                self.sym = sym
-                self.scount = 0
-                continue
+            if self.scount == 1:
+                # We ignore single sample width "pulses", i.e., symbol changes
+                # (D+/D- line changes). I sometimes get these with the OLS.
+                self.sym = sym
+                self.scount = 0
+                continue
 
             # How many bits since the last transition?
             if self.packet != '' or self.sym != 'J':