From ff73d589b60677cf405d8e6af8810c849595fd7a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 15 May 2019 01:28:53 +0200 Subject: enc28j60: Rename self.ann to self.out_ann. (for consistency with all other decoders) --- decoders/enc28j60/pd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoders/enc28j60/pd.py') 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: -- cgit v1.2.3-70-g09d2