X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fusb%2Fusb.py;h=c5b6a2efb548d848003769a555ea2ab141823045;hb=44f7ba18ee64fc89d0f69619076ff28a8bc6b31a;hp=529868e2121ea6cb86ff07ccc1fcd992f0136723;hpb=3cf771a5179d94a156bef1aa95d7e05411dc82e2;p=libsigrokdecode.git diff --git a/decoders/usb/usb.py b/decoders/usb/usb.py index 529868e..c5b6a2e 100644 --- a/decoders/usb/usb.py +++ b/decoders/usb/usb.py @@ -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':