]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk/nunchuk.py
srd: rename extra_probes to optional_probes in all PDs
[libsigrokdecode.git] / decoders / nunchuk / nunchuk.py
index 46bf53cf85ff43753d830e387f2f73e7e1ec0775..db40d358ddb7e1c59bfab718f697f654cfdb2870 100644 (file)
@@ -40,6 +40,7 @@ INIT = 3
 INITIALIZED = 4
 
 class Decoder(srd.Decoder):
+    api_version = 1
     id = 'nunchuk'
     name = 'Nunchuk'
     longname = 'Nintendo Wii Nunchuk'
@@ -48,7 +49,8 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['i2c']
     outputs = ['nunchuck']
-    probes = [] # TODO
+    probes = []
+    optional_probes = [] # TODO
     options = {}
     annotations = [
         ['TODO', 'TODO'],