From 34253497d4d8bc9a46f31eb44b3bab6eb547004d Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 2 Mar 2017 20:35:45 -0600 Subject: [PATCH] Babysteps code tweak As suggested by https://github.com/MarlinFirmware/Marlin/pull/5887#issuecomment-283832163 --- Marlin/ultralcd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index b5331e389b..ac7fc6b367 100755 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -785,9 +785,7 @@ void kill_screen(const char* lcd_msg) { babysteps_done += babystep_increment; } if (lcdDrawUpdate) - lcd_implementation_drawedit(msg, ftostr43sign( - ((1000 * babysteps_done) * planner.steps_to_mm[axis]) * 0.001f - )); + lcd_implementation_drawedit(msg, ftostr43sign(planner.steps_to_mm[axis] * babysteps_done)); } #if ENABLED(BABYSTEP_XY)