mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 19:18:06 +09:00
lm75: round reported temps to 2 decimal places
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
committed by
KevinOConnor
parent
916ef4483a
commit
bf598d0922
@@ -98,7 +98,7 @@ class LM75:
|
|||||||
|
|
||||||
def get_status(self, eventtime):
|
def get_status(self, eventtime):
|
||||||
return {
|
return {
|
||||||
'temperature': self.temp,
|
'temperature': round(self.temp, 2),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user