summaryrefslogtreecommitdiff
path: root/decoders/jtag/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/jtag/pd.py')
-rw-r--r--decoders/jtag/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py
index e327d32..5d4ee8e 100644
--- a/decoders/jtag/pd.py
+++ b/decoders/jtag/pd.py
@@ -57,8 +57,8 @@ class Decoder(srd.Decoder):
self.bits_tdo = []
def start(self):
- self.out_proto = self.add(srd.OUTPUT_PYTHON, 'jtag')
- self.out_ann = self.add(srd.OUTPUT_ANN, 'jtag')
+ self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def report(self):
pass