]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/maxim_ds28ea00/pd.py
All PDs: More consistent OUTPUT_PYTHON format docs.
[libsigrokdecode.git] / decoders / maxim_ds28ea00 / pd.py
index 2492c6bcfeb270f799615e7557c15a1187aa372c..4693cd9aa2f7b3aa047362729fc513b05b1aa9e6 100644 (file)
@@ -36,7 +36,7 @@ command = {
 }
 
 class Decoder(srd.Decoder):
-    api_version = 1
+    api_version = 2
     id = 'maxim_ds28ea00'
     name = 'DS28EA00'
     longname = 'Maxim DS28EA00 1-Wire digital thermometer'
@@ -44,12 +44,6 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['onewire_network']
     outputs = ['maxim_ds28ea00']
-    optional_probes = (
-        {'id': 'pioa', 'name': 'PIOA/DONE#',
-         'desc': 'PIOA channel and chain output'},
-        {'id': 'piob', 'name': 'PIOB/EN#',
-         'desc': 'PIOB channel and chain output'},
-    )
     annotations = (
         ('text', 'Human-readable text'),
     )