Skip to content

Commit

Permalink
Multiply by float, not double
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Sep 29, 2019
1 parent 74746c6 commit f307ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/M48.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f307ff6

Please sign in to comment.