We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf50cc0 commit f6e1d90Copy full SHA for f6e1d90
1 file changed
Marlin/src/gcode/parser.h
@@ -371,7 +371,7 @@ class GCodeParser {
371
case TEMPUNIT_K: f -= 273.15f;
372
case TEMPUNIT_F: f = (f - 32) * 0.5555555556f;
373
}
374
- return LROUND(f + 0.5f);
+ return LROUND(f);
375
376
377
static inline celsius_t value_celsius_diff() {
@@ -382,7 +382,7 @@ class GCodeParser {
382
case TEMPUNIT_K: break;
383
case TEMPUNIT_F: f *= 0.5555555556f;
384
385
386
387
388
#else // !TEMPERATURE_UNITS_SUPPORT
0 commit comments