summaryrefslogtreecommitdiff
path: root/decoders/cjtag/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/cjtag/pd.py')
-rw-r--r--decoders/cjtag/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/cjtag/pd.py b/decoders/cjtag/pd.py
index dbce790..9849b3a 100644
--- a/decoders/cjtag/pd.py
+++ b/decoders/cjtag/pd.py
@@ -138,7 +138,7 @@ class Decoder(srd.Decoder):
self.oldstate = self.state
if self.cjtagstate.startswith('CJTAG-'):
- self.oacp = self.oacp + 1
+ self.oacp += 1
if self.oacp > 4 and self.oaclen == 12:
self.cjtagstate = 'CJTAG-EC'
@@ -281,7 +281,7 @@ class Decoder(srd.Decoder):
self.ss_item = self.samplenum
def handle_tms_edge(self, tck, tms):
- self.escape_edges = self.escape_edges + 1
+ self.escape_edges += 1
def handle_tapc_state(self, tck, tms):
self.oldcjtagstate = self.cjtagstate