diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-05-15 01:28:53 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-05-15 01:28:53 +0200 |
commit | ff73d589b60677cf405d8e6af8810c849595fd7a (patch) | |
tree | 8309416c847158cb8144291d4fea2ca20b2ff9aa /decoders/enc28j60 | |
parent | 9306d59da41beee3e56a3ff158405425b74344e2 (diff) | |
download | libsigrokdecode-ff73d589b60677cf405d8e6af8810c849595fd7a.tar.gz libsigrokdecode-ff73d589b60677cf405d8e6af8810c849595fd7a.zip |
enc28j60: Rename self.ann to self.out_ann.
(for consistency with all other decoders)
Diffstat (limited to 'decoders/enc28j60')
-rw-r--r-- | decoders/enc28j60/pd.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |