X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmlx90614%2Fpd.py;h=908f40a62eb70bb392f23e664ce9581c351de88e;hb=192a9e78f97ea82f7ee69a683b4639847cbf4e5a;hp=f0dbe22a240f4cceb030405f3fa4b8849e3e598f;hpb=6cbba91f23b9f9ace75b4722c9c0776b9211008d;p=libsigrokdecode.git diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index f0dbe22..908f40a 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -30,8 +30,12 @@ class Decoder(srd.Decoder): outputs = [] tags = ['IC', 'Sensor'] annotations = ( - ('celsius', 'Temperature in degrees Celsius'), - ('kelvin', 'Temperature in Kelvin'), + ('celsius', 'Temperature / °C'), + ('kelvin', 'Temperature / K'), + ) + annotation_rows = ( + ('temps-celsius', 'Temperature / °C', (0,)), + ('temps-kelvin', 'Temperature / K', (1,)), ) def __init__(self):