diff options
author | Eric Callahan <arksine.code@gmail.com> | 2021-10-11 14:27:31 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-10-15 18:01:19 -0400 |
commit | cd58a945e2526b4519e918c58b97657c604b0209 (patch) | |
tree | dad32754deb6974481352f2d6bb798fe8a1457d8 /klippy/extras | |
parent | bf598d0922c470e929ddfe2f5724374e4c16c863 (diff) | |
download | kutter-cd58a945e2526b4519e918c58b97657c604b0209.tar.gz kutter-cd58a945e2526b4519e918c58b97657c604b0209.tar.xz kutter-cd58a945e2526b4519e918c58b97657c604b0209.zip |
temperature_host: round reported temps to 2 decimal places
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/temperature_host.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/temperature_host.py b/klippy/extras/temperature_host.py index 6097dbe2..f72336c5 100644 --- a/klippy/extras/temperature_host.py +++ b/klippy/extras/temperature_host.py @@ -75,7 +75,7 @@ class Temperature_HOST: def get_status(self, eventtime): return { - 'temperature': self.temp, + 'temperature': round(self.temp, 2), } |