From f307ff68f766ef4e01b55bc4ded16c878f1d3abf Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 29 Sep 2019 17:24:55 -0500 Subject: [PATCH] Multiply by float, not double --- Marlin/src/gcode/calibrate/M48.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/calibrate/M48.cpp b/Marlin/src/gcode/calibrate/M48.cpp index d8fe4e410..8a1276722 100644 --- a/Marlin/src/gcode/calibrate/M48.cpp +++ b/Marlin/src/gcode/calibrate/M48.cpp @@ -176,7 +176,7 @@ void GcodeSuite::M48() { // If we have gone out too far, we can do a simple fix and scale the numbers // back in closer to the origin. while (!position_is_reachable_by_probe(next_pos)) { - next_pos *= 0.8; + next_pos *= 0.8f; if (verbose_level > 3) SERIAL_ECHOLNPAIR("Moving inward: X", next_pos.x, " Y", next_pos.y); }