diff options
Diffstat (limited to 'decoders/lm75')
-rw-r--r-- | decoders/lm75/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index de1a0da..6bbc5d8 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -78,8 +78,8 @@ class Decoder(srd.Decoder): self.avgvalues = [] def start(self): - # self.out_proto = self.add(srd.OUTPUT_PYTHON, 'lm75') - self.out_ann = self.add(srd.OUTPUT_ANN, 'lm75') + # self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_ann = self.register(srd.OUTPUT_ANN) def report(self): # TODO: print() or self.put() or return xyz, or... ? |