1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix Kelvin conversion

Thanks to @ospalh -- #6056
This commit is contained in:
Scott Lahteine 2017-03-18 13:23:08 -05:00 committed by GitHub
parent 2c630a1b5c
commit 4bca27ab89

View File

@ -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();
}