From ce780be23a64df70ac350c8584d484e72c00990e Mon Sep 17 00:00:00 2001 From: Stefan BrĂ¼ns Date: Fri, 13 Nov 2015 04:20:54 +0100 Subject: usb_signalling: remove unused ss_sop member --- decoders/usb_signalling/pd.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'decoders') diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py index 8e9723e..f45baf9 100644 --- a/decoders/usb_signalling/pd.py +++ b/decoders/usb_signalling/pd.py @@ -113,7 +113,6 @@ class Decoder(srd.Decoder): def __init__(self): self.samplerate = None self.oldsym = 'J' # The "idle" state is J. - self.ss_sop = None self.ss_block = None self.samplenum = 0 self.syms = [] @@ -171,8 +170,7 @@ class Decoder(srd.Decoder): self.oldsym = sym return self.consecutive_ones = 0 - self.ss_sop = self.samplenum - self.samplepos = self.ss_sop - (self.bitwidth / 2) + 0.5 + self.samplepos = self.samplenum - (self.bitwidth / 2) + 0.5 self.set_new_target_samplenum() self.putpx(['SOP', None]) self.putx([4, ['SOP', 'S']]) -- cgit v1.2.3-70-g09d2