X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decoders%2Fmlx90614%2Fpd.py;h=60927f7324bb5d96c390f27837f1c4845ca7968a;hb=a4e9ca6fd0800d3b850f41198bd8049f5a9607de;hp=c2b37c7bcf9c33a4688c3bac2d85ad13d3a0168a;hpb=4539e9ca58966ce3c9cad4801b16c315e86ace01;p=libsigrokdecode.git diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index c2b37c7..60927f7 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -20,7 +20,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 2 + api_version = 3 id = 'mlx90614' name = 'MLX90614' longname = 'Melexis MLX90614' @@ -34,6 +34,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IGNORE START REPEAT' self.data = []