summaryrefslogtreecommitdiff
path: root/decoders/onewire_link
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/onewire_link')
-rw-r--r--decoders/onewire_link/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py
index 34cd4f4..bc44ce9 100644
--- a/decoders/onewire_link/pd.py
+++ b/decoders/onewire_link/pd.py
@@ -92,8 +92,8 @@ class Decoder(srd.Decoder):
self.rise = 0
def start(self):
- self.out_proto = self.add(srd.OUTPUT_PYTHON, 'onewire_link')
- self.out_ann = self.add(srd.OUTPUT_ANN, 'onewire_link')
+ 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: