]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2c/i2c.py
srd: Add 'api_version = 1' to all PDs.
[libsigrokdecode.git] / decoders / i2c / i2c.py
index f0a95b79fd334b1dc6d9e2ca875b0dee988694fe..16bd6c36c9c7e9866f2cb51aaf89e59b5bdb33f0 100644 (file)
@@ -116,6 +116,7 @@ FIND_ADDRESS = 1
 FIND_DATA = 2
 
 class Decoder(srd.Decoder):
 FIND_DATA = 2
 
 class Decoder(srd.Decoder):
+    api_version = 1
     id = 'i2c'
     name = 'I2C'
     longname = 'Inter-Integrated Circuit'
     id = 'i2c'
     name = 'I2C'
     longname = 'Inter-Integrated Circuit'