summaryrefslogtreecommitdiff
path: root/decoders/cjtag
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2020-01-08 23:32:40 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2020-01-09 00:15:02 +0100
commit89cc0719f2046d500378518e81f6f6357e5550b8 (patch)
tree3020fc8db921051190df7dae3f4eb9e17f9c7ccb /decoders/cjtag
parentde5a2d286ecf1f8feeb149a0c96d1831d167a080 (diff)
downloadlibsigrokdecode-89cc0719f2046d500378518e81f6f6357e5550b8.tar.gz
libsigrokdecode-89cc0719f2046d500378518e81f6f6357e5550b8.zip
cjtag: Drop some unused method arguments.
Diffstat (limited to 'decoders/cjtag')
-rw-r--r--decoders/cjtag/pd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoders/cjtag/pd.py b/decoders/cjtag/pd.py
index b6d343a..c2ac2ae 100644
--- a/decoders/cjtag/pd.py
+++ b/decoders/cjtag/pd.py
@@ -273,10 +273,10 @@ class Decoder(srd.Decoder):
self.ss_item = self.samplenum
- def handle_tms_edge(self, tck, tms):
+ def handle_tms_edge(self):
self.escape_edges += 1
- def handle_tapc_state(self, tck, tms):
+ def handle_tapc_state(self):
self.oldcjtagstate = self.cjtagstate
if self.escape_edges >= 8:
@@ -296,7 +296,7 @@ class Decoder(srd.Decoder):
while True:
# Wait for a rising edge on TCK.
tck, tms = self.wait({0: 'r'})
- self.handle_tapc_state(tck, tms)
+ self.handle_tapc_state()
if self.cjtagstate == 'OSCAN1':
if self.oscan1cycle == 0: # nTDI
@@ -316,4 +316,4 @@ class Decoder(srd.Decoder):
tck, tms_n = self.wait([{0: 'f'}, {1: 'e'}])
if tms_n != tms:
tms = tms_n
- self.handle_tms_edge(tck, tms)
+ self.handle_tms_edge()