X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fmx25lxx05d%2Fpd.py;h=a6c72d8854e54fbd7034147fe41c045502f62742;hp=1099953553d4c0333484624ca20b56b803ea3208;hb=12851357e784b893e24880efc6cd22a0cbcc64ce;hpb=4e4f8527de0927f2eb1d98e90b58e018ba28d341 diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py index 1099953..a6c72d8 100644 --- a/decoders/mx25lxx05d/pd.py +++ b/decoders/mx25lxx05d/pd.py @@ -83,7 +83,7 @@ def decode_status_reg(data): return ret class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'mx25lxx05d' name = 'MX25Lxx05D' longname = 'Macronix MX25Lxx05D' @@ -109,7 +109,6 @@ class Decoder(srd.Decoder): self.data = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data):