From 5d6d8896ded87ce72b42e68c77120008b2d1b779 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 7 Dec 2019 19:11:27 +0100 Subject: decoders: Don't set self.samplenum. This is managed by the backend and should be read-only for PDs. --- decoders/lpc/pd.py | 1 - 1 file changed, 1 deletion(-) (limited to 'decoders/lpc') diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index 5eb0983..095c8b5 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -142,7 +142,6 @@ class Decoder(srd.Decoder): def reset(self): self.state = 'IDLE' self.oldlclk = -1 - self.samplenum = 0 self.lad = -1 self.addr = 0 self.cur_nibble = 0 -- cgit v1.2.3-70-g09d2