From: Uwe Hermann Date: Tue, 14 May 2019 23:28:53 +0000 (+0200) Subject: enc28j60: Rename self.ann to self.out_ann. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ff73d589b60677cf405d8e6af8810c849595fd7a;p=libsigrokdecode.git enc28j60: Rename self.ann to self.out_ann. (for consistency with all other decoders) --- diff --git a/decoders/enc28j60/pd.py b/decoders/enc28j60/pd.py index fafc2cd..f7a6625 100644 --- a/decoders/enc28j60/pd.py +++ b/decoders/enc28j60/pd.py @@ -89,13 +89,13 @@ class Decoder(srd.Decoder): self.bsel1 = None def start(self): - self.ann = self.register(srd.OUTPUT_ANN) + self.out_ann = self.register(srd.OUTPUT_ANN) def putc(self, data): - self.put(self.cmd_ss, self.cmd_es, self.ann, data) + self.put(self.cmd_ss, self.cmd_es, self.out_ann, data) def putr(self, data): - self.put(self.range_ss, self.range_es, self.ann, data) + self.put(self.range_ss, self.range_es, self.out_ann, data) def _process_command(self): if len(self.mosi) == 0: