From: Gerhard Sittig Date: Sun, 18 Jun 2017 10:19:32 +0000 (+0200) Subject: lpc: Nit, remove an unused variable X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6120ff64d4096bcb32c8a42f06ff77d75a5326c2;p=libsigrokdecode.git lpc: Nit, remove an unused variable --- diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index cdd1db8..08d0437 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -139,7 +139,6 @@ class Decoder(srd.Decoder): self.state = 'IDLE' self.oldlclk = -1 self.samplenum = 0 - self.clocknum = 0 self.lad = -1 self.addr = 0 self.cur_nibble = 0 @@ -351,7 +350,6 @@ class Decoder(srd.Decoder): self.ss_block = self.samplenum self.state = 'GET START' self.lad = -1 - # self.clocknum = 0 elif self.state == 'GET START': self.handle_get_start(lad, lad_bits, lframe) elif self.state == 'GET CT/DR':