]> sigrok.org Git - libsigrokdecode.git/commitdiff
lpc: Nit, remove an unused variable
authorGerhard Sittig <redacted>
Sun, 18 Jun 2017 10:19:32 +0000 (12:19 +0200)
committerUwe Hermann <redacted>
Wed, 21 Jun 2017 15:45:15 +0000 (17:45 +0200)
decoders/lpc/pd.py

index cdd1db8f4e6d25f696887adbe0893794453809b8..08d0437affe9c04015ab2cfad40eea83cfe00364 100644 (file)
@@ -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':