summaryrefslogtreecommitdiff
path: root/decoders/onewire_network/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/onewire_network/pd.py')
-rw-r--r--decoders/onewire_network/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py
index 1099bdc..6ab8f8e 100644
--- a/decoders/onewire_network/pd.py
+++ b/decoders/onewire_network/pd.py
@@ -62,8 +62,8 @@ class Decoder(srd.Decoder):
self.rom = 0x0000000000000000
def start(self):
- self.out_proto = self.add(srd.OUTPUT_PYTHON, 'onewire_network')
- self.out_ann = self.add(srd.OUTPUT_ANN, 'onewire_network')
+ self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def report(self):
pass