summaryrefslogtreecommitdiff
path: root/decoders/i2s
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-01-30 22:37:29 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-01-30 22:42:24 +0100
commitc515eed7ef7a04a42b5b34abd308e08d6942835e (patch)
tree90d12109e96a091898a1d2961f8abc685d6fd06c /decoders/i2s
parent4467372a2e39bb72648eebbb96934147681110c2 (diff)
downloadlibsigrokdecode-c515eed7ef7a04a42b5b34abd308e08d6942835e.tar.gz
libsigrokdecode-c515eed7ef7a04a42b5b34abd308e08d6942835e.zip
s/out_proto/out_python/.
The output type is now called OUTPUT_PYTHON, adapt all PDs to that.
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 3064b7d..73bfa6f 100644
--- a/decoders/i2s/pd.py
+++ b/decoders/i2s/pd.py
@@ -21,7 +21,7 @@
import sigrokdecode as srd
'''
-Protocol output format:
+OUTPUT_PYTHON format:
Packet:
[<ptype>, <pdata>]
@@ -71,7 +71,7 @@ class Decoder(srd.Decoder):
self.wrote_wav_header = False
def start(self):
- self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ self.out_python = self.register(srd.OUTPUT_PYTHON)
self.out_bin = self.register(srd.OUTPUT_BINARY)
self.out_ann = self.register(srd.OUTPUT_ANN)
@@ -80,7 +80,7 @@ class Decoder(srd.Decoder):
self.samplerate = value
def putpb(self, data):
- self.put(self.start_sample, self.samplenum, self.out_proto, data)
+ self.put(self.start_sample, self.samplenum, self.out_python, data)
def putbin(self, data):
self.put(self.start_sample, self.samplenum, self.out_bin, data)