summaryrefslogtreecommitdiff
path: root/decoders/eeprom24xx
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-12-23 20:01:48 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2015-12-24 02:28:55 +0100
commit2f37032807e19bc93b7f3223e1568db46318790c (patch)
tree937b0b0d24112203fd14f2f6124567f5f81cf25f /decoders/eeprom24xx
parent2824e81140d3a8e37464f758cf67f50f2f7afca7 (diff)
downloadlibsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.tar.gz
libsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.zip
Use self.out_binary naming consistently across all PDs.
Diffstat (limited to 'decoders/eeprom24xx')
-rw-r--r--decoders/eeprom24xx/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/eeprom24xx/pd.py b/decoders/eeprom24xx/pd.py
index 928a1f7..386431e 100644
--- a/decoders/eeprom24xx/pd.py
+++ b/decoders/eeprom24xx/pd.py
@@ -78,7 +78,7 @@ class Decoder(srd.Decoder):
def start(self):
self.out_ann = self.register(srd.OUTPUT_ANN)
- self.out_bin = self.register(srd.OUTPUT_BINARY)
+ self.out_binary = self.register(srd.OUTPUT_BINARY)
self.chip = chips[self.options['chip']]
self.addr_counter = self.options['addr_counter']
@@ -86,7 +86,7 @@ class Decoder(srd.Decoder):
self.put(self.ss_block, self.es_block, self.out_ann, data)
def putbin(self, data):
- self.put(self.ss_block, self.es_block, self.out_bin, data)
+ self.put(self.ss_block, self.es_block, self.out_binary, data)
def putbits(self, bit1, bit2, bits, data):
self.put(bits[bit1][1], bits[bit2][2], self.out_ann, data)