X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmaxim_ds28ea00%2Fpd.py;h=ed020d4bf44ec3d732615601da99a7b051853059;hb=8915b34659332288aab38780d8f10d75c4c83e7f;hp=026457e5783a7cc66c8bf54951e0ce311d003373;hpb=24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5;p=libsigrokdecode.git diff --git a/decoders/maxim_ds28ea00/pd.py b/decoders/maxim_ds28ea00/pd.py index 026457e..ed020d4 100644 --- a/decoders/maxim_ds28ea00/pd.py +++ b/decoders/maxim_ds28ea00/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 Iztok Jeras ## @@ -40,9 +40,9 @@ command = { class Decoder(srd.Decoder): api_version = 1 id = 'maxim_ds28ea00' - name = 'Maxim DS28EA00' + name = 'DS28EA00' longname = 'Maxim DS28EA00 1-Wire digital thermometer' - desc = '1-Wire digital thermometer with Sequence Detect and PIO' + desc = '1-Wire digital thermometer with Sequence Detect and PIO.' license = 'gplv2+' inputs = ['onewire_network'] outputs = ['maxim_ds28ea00'] @@ -64,7 +64,7 @@ class Decoder(srd.Decoder): self.state = 'ROM' self.rom = 0x0000000000000000 - def start(self, metadata): + def start(self): self.out_ann = self.add(srd.OUTPUT_ANN, 'maxim_ds28ea00') def report(self):