mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-18 05:33:58 +00:00
fix celsius symbol
This commit is contained in:
committed by
Ron Evans
parent
2034f92d11
commit
0519540d0c
+1
-1
@@ -80,7 +80,7 @@ func (d *Device) Configure() {
|
||||
d.calibrationCoefficients.md = readInt(data[20], data[21])
|
||||
}
|
||||
|
||||
// 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) {
|
||||
rawTemp, err := d.rawTemp()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user