From c515eed7ef7a04a42b5b34abd308e08d6942835e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 30 Jan 2014 22:37:29 +0100 Subject: s/out_proto/out_python/. The output type is now called OUTPUT_PYTHON, adapt all PDs to that. --- decoders/jtag/pd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoders/jtag') diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py index 0241924..26ddbac 100644 --- a/decoders/jtag/pd.py +++ b/decoders/jtag/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd ''' -Protocol output format: +OUTPUT_PYTHON format: JTAG packet: [, ] @@ -96,14 +96,14 @@ class Decoder(srd.Decoder): self.first = True def start(self): - self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): self.put(self.ss_item, self.es_item, self.out_ann, data) def putp(self, data): - self.put(self.ss_item, self.es_item, self.out_proto, data) + self.put(self.ss_item, self.es_item, self.out_python, data) def advance_state_machine(self, tms): self.oldstate = self.state -- cgit v1.2.3-70-g09d2