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/spi/pd.py | 1 - 1 file changed, 1 deletion(-) (limited to 'decoders/spi/pd.py') diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 952b066..5f18d72 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -137,7 +137,6 @@ class Decoder(srd.Decoder): self.misobytes = [] self.mosibytes = [] self.ss_block = -1 - self.samplenum = -1 self.ss_transfer = -1 self.cs_was_deasserted = False self.have_cs = self.have_miso = self.have_mosi = None -- cgit v1.2.3-70-g09d2