summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2017-06-18 12:19:32 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-21 17:45:15 +0200
commit6120ff64d4096bcb32c8a42f06ff77d75a5326c2 (patch)
treef4589cf38a93f1c87b0bc7a24d04aeca797539c2
parent730e07bca67df0ca9f7a4e68dff87d91d0316be9 (diff)
downloadlibsigrokdecode-6120ff64d4096bcb32c8a42f06ff77d75a5326c2.tar.gz
libsigrokdecode-6120ff64d4096bcb32c8a42f06ff77d75a5326c2.zip
lpc: Nit, remove an unused variable
-rw-r--r--decoders/lpc/pd.py2
1 files changed, 0 insertions, 2 deletions
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':