X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fi2cdemux%2Fpd.py;h=e5cf47ac6696576098ae923a42fd9b17deb6bfc0;hb=35e92b7bc6f40232144a7e6c9875ef02dbc6faa5;hp=12ebb88447097903d69b7dab6ad03b6634e125aa;hpb=c515eed7ef7a04a42b5b34abd308e08d6942835e;p=libsigrokdecode.git diff --git a/decoders/i2cdemux/pd.py b/decoders/i2cdemux/pd.py index 12ebb88..e5cf47a 100644 --- a/decoders/i2cdemux/pd.py +++ b/decoders/i2cdemux/pd.py @@ -21,7 +21,7 @@ import sigrokdecode as srd class Decoder(srd.Decoder): - api_version = 1 + api_version = 2 id = 'i2cdemux' name = 'I²C demux' longname = 'I²C demultiplexer' @@ -29,10 +29,6 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['i2c'] outputs = [] # TODO: Only known at run-time. - probes = [] - optional_probes = [] - options = {} - annotations = [] def __init__(self, **kwargs): self.packets = [] # Local cache of I²C packets