From 4bca27ab890da4733ab0de56cf6e2586da95785a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 18 Mar 2017 13:23:08 -0500 Subject: [PATCH] Fix Kelvin conversion Thanks to @ospalh -- #6056 --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index b8a52c78e..30abb56b3 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -1256,7 +1256,7 @@ inline bool code_value_bool() { return !code_has_value() || code_value_byte() > case TEMPUNIT_F: return (code_value_float() - 32) * 0.5555555556; case TEMPUNIT_K: - return code_value_float() - 272.15; + return code_value_float() - 273.15; default: return code_value_float(); }