From 961699aaab1e44dab827c9f1884100b87a0a97fd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdelin Date: Wed, 12 Nov 2014 12:42:03 -0500 Subject: jitter: fixes an error when a miss clock/signal is detected Signed-off-by: Sebastien Bourdelin --- decoders/jitter/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders') diff --git a/decoders/jitter/pd.py b/decoders/jitter/pd.py index b6564ad..0ddeea5 100644 --- a/decoders/jitter/pd.py +++ b/decoders/jitter/pd.py @@ -125,7 +125,7 @@ class Decoder(srd.Decoder): # occurs while we are waiting for a clock, # we increase the missed signal counter. self.sig_missed += 1 - self.put(ss, self.samplenum, self.out_sig_missed, self.sig_missed) + self.put(self.samplenum, self.samplenum, self.out_sig_missed, self.sig_missed) self.putm([2, ['Missed signal', 'MS']]) # No clock edge found, we have done everything we # can with this sample. @@ -153,7 +153,7 @@ class Decoder(srd.Decoder): # occurs while we are waiting for a resulting # signal, we increase the missed clock counter. self.clk_missed += 1 - self.put(ss, self.samplenum, self.out_clk_missed, self.clk_missed) + self.put(self.samplenum, self.samplenum, self.out_clk_missed, self.clk_missed) self.putm([1, ['Missed clock', 'MC']]) # No resulting signal edge found, we have done # everything we can with this sample. -- cgit v1.2.3-70-g09d2