diff options
Diffstat (limited to 'decoders/i2s')
-rw-r--r-- | decoders/i2s/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index 292a4c4..ea147de 100644 --- a/decoders/i2s/pd.py +++ b/decoders/i2s/pd.py @@ -69,8 +69,8 @@ class Decoder(srd.Decoder): self.wordlength = -1 def start(self): - self.out_proto = self.add(srd.OUTPUT_PYTHON, 'i2s') - self.out_ann = self.add(srd.OUTPUT_ANN, 'i2s') + self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_ann = self.register(srd.OUTPUT_ANN) def metadata(self, key, value): if key == srd.SRD_CONF_SAMPLERATE: |