]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mlx90614/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / mlx90614 / pd.py
index aa63458ffeb9f76c238ddac0815a90c8867cd0bd..fec3334fd81149450943580a1be9e8b52dc87d6a 100644 (file)
@@ -29,10 +29,10 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['i2c']
     outputs = ['mlx90614']
-    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'