summaryrefslogtreecommitdiff
path: root/decoders/i2s
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/i2s
parent2824e81140d3a8e37464f758cf67f50f2f7afca7 (diff)
downloadlibsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.tar.gz
libsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.zip
Use self.out_binary naming consistently across all PDs.
Diffstat (limited to 'decoders/i2s')
-rw-r--r--decoders/i2s/pd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py
index eeeea20..6b94c10 100644
--- a/decoders/i2s/pd.py
+++ b/decoders/i2s/pd.py
@@ -73,7 +73,7 @@ class Decoder(srd.Decoder):
def start(self):
self.out_python = self.register(srd.OUTPUT_PYTHON)
- self.out_bin = self.register(srd.OUTPUT_BINARY)
+ self.out_binary = self.register(srd.OUTPUT_BINARY)
self.out_ann = self.register(srd.OUTPUT_ANN)
def metadata(self, key, value):
@@ -84,7 +84,7 @@ class Decoder(srd.Decoder):
self.put(self.ss_block, self.samplenum, self.out_python, data)
def putbin(self, data):
- self.put(self.ss_block, self.samplenum, self.out_bin, data)
+ self.put(self.ss_block, self.samplenum, self.out_binary, data)
def putb(self, data):
self.put(self.ss_block, self.samplenum, self.out_ann, data)
@@ -154,7 +154,7 @@ class Decoder(srd.Decoder):
if self.ss_block is not None:
if not self.wrote_wav_header:
- self.put(0, 0, self.out_bin, [0, self.wav_header()])
+ self.put(0, 0, self.out_binary, [0, self.wav_header()])
self.wrote_wav_header = True
self.samplesreceived += 1