X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Flm75%2Fpd.py;h=de1a0dafa4fc91b6b81c8a5f709c4d69fe4554c0;hb=19ac1568f74920bd44e43671059cf9e1780e5aca;hp=9d2f0ab242bb48bcbfbfb1dfe9e696b3b04f6ced;hpb=24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5;p=libsigrokdecode.git diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index 9d2f0ab..de1a0da 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -46,7 +46,7 @@ class Decoder(srd.Decoder): id = 'lm75' name = 'LM75' longname = 'National LM75' - desc = 'National LM75 (and compatibles) temperature sensor protocol.' + desc = 'National LM75 (and compatibles) temperature sensor.' license = 'gplv2+' inputs = ['i2c'] outputs = ['lm75'] @@ -77,8 +77,8 @@ class Decoder(srd.Decoder): self.maxtemp = 0 self.avgvalues = [] - def start(self, metadata): - # self.out_proto = self.add(srd.OUTPUT_PROTO, 'lm75') + def start(self): + # self.out_proto = self.add(srd.OUTPUT_PYTHON, 'lm75') self.out_ann = self.add(srd.OUTPUT_ANN, 'lm75') def report(self):