fix celsius symbol

This commit is contained in:
Daniel Esteban
2020-02-08 19:44:03 +01:00
committed by Ron Evans
parent 2034f92d11
commit 0519540d0c
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func (dev *Device) Configure() (err error) {
}
// ReadTemperature returns the temperature in celsius milli degrees (ºC/1000)
// ReadTemperature returns the temperature in celsius milli degrees (°C/1000)
func (d *Device) ReadTemperature() (temperature int32, err error) {
return (int32(d.readUint16(RegTempValueMSB)) * 1000) / 128, nil
}