Skip to content
Snippets Groups Projects
Commit f307ff68 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Multiply by float, not double

parent 74746c65
Branches
Tags
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment