X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fmlx90614%2Fpd.py;h=908f40a62eb70bb392f23e664ce9581c351de88e;hp=f0dbe22a240f4cceb030405f3fa4b8849e3e598f;hb=d94270b928f04ad26ef0cd6f83cd8c6d46d98fc8;hpb=6cbba91f23b9f9ace75b4722c9c0776b9211008d 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):