From f84d82c0aba0d249c085efa9532761941d0792b2 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 28 Jul 2012 18:14:21 +0200 Subject: srd: lm75: s/degrees Kelvin/Kelvin/. The temperature unit is nowadays called just "Kelvin", not "degrees Kelvin" (even though this was not always the case). --- decoders/lm75/lm75.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/lm75') diff --git a/decoders/lm75/lm75.py b/decoders/lm75/lm75.py index 05ff231..9d2f0ab 100644 --- a/decoders/lm75/lm75.py +++ b/decoders/lm75/lm75.py @@ -63,7 +63,7 @@ class Decoder(srd.Decoder): } annotations = [ ['Celsius', 'Temperature in degrees Celsius'], - ['Kelvin', 'Temperature in degrees Kelvin'], + ['Kelvin', 'Temperature in Kelvin'], ['Text (verbose)', 'Human-readable text (verbose)'], ['Text', 'Human-readable text'], ['Warnings', 'Human-readable warnings'], @@ -110,7 +110,7 @@ class Decoder(srd.Decoder): celsius = float('%d.%d' % (before, after)) kelvin = celsius + 273.15 self.putb([0, ['%s: %.1f °C' % (s, celsius)]]) - self.putb([1, ['%s: %.1f °K' % (s, kelvin)]]) + self.putb([1, ['%s: %.1f K' % (s, kelvin)]]) # Warn about the temperature register (0x00) being read-only. if s == 'Temperature' and rw == 'WRITE': -- cgit v1.2.3-70-g09d2