X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fi2s%2Fpd.py;h=ea147dec0369f11446468dc929a00e5bc4b20ee9;hb=4d2c7619ec72728dd01999f20ef1004e018d18a4;hp=91d261a2c9c88bceb890ba62eb6690d34d08b823;hpb=f372d597739a30e0106aebc8225c1edebf6d93e3;p=libsigrokdecode.git diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index 91d261a..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_PROTO, '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: