]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mlx90614/pd.py
All PDs: Drop some unneeded comments.
[libsigrokdecode.git] / decoders / mlx90614 / pd.py
index 1e6c33d0c8c0f5b40fd2cfb2d3109a7d05754c40..4600754dffe16b550508d49255db8314c143d464 100644 (file)
@@ -29,20 +29,16 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['i2c']
     outputs = ['mlx90614']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['Celsius', 'Temperature in degrees Celsius'],
-        ['Kelvin', 'Temperature in Kelvin'],
-    ]
+    annotations = (
+        ('celsius', 'Temperature in degrees Celsius'),
+        ('kelvin', 'Temperature in Kelvin'),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IGNORE START REPEAT'
         self.data = []
 
     def start(self):
-        # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def putx(self, data):