]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/lm75/pd.py
All PDs: Consistent naming/case for annotation shortnames/IDs.
[libsigrokdecode.git] / decoders / lm75 / pd.py
index 08f338ac182d5d72a503f694f9bbc6b2b1cba3b3..2f4d1358bc349ccd96e2c116b218fd27a5b7b6cd 100644 (file)
@@ -60,11 +60,11 @@ class Decoder(srd.Decoder):
         'resolution': ['Resolution', 9], # 9-12 bit, sensor/config dependent
     }
     annotations = [
-        ['Celsius', 'Temperature in degrees Celsius'],
-        ['Kelvin', 'Temperature in Kelvin'],
-        ['Text (verbose)', 'Human-readable text (verbose)'],
-        ['Text', 'Human-readable text'],
-        ['Warnings', 'Human-readable warnings'],
+        ['celsius', 'Temperature in degrees Celsius'],
+        ['kelvin', 'Temperature in Kelvin'],
+        ['text-verbose', 'Human-readable text (verbose)'],
+        ['text', 'Human-readable text'],
+        ['warnings', 'Human-readable warnings'],
     ]
 
     def __init__(self, **kwargs):