1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Babysteps code tweak

As suggested by https://github.com/MarlinFirmware/Marlin/pull/5887#issuecomment-283832163
This commit is contained in:
Scott Lahteine 2017-03-02 20:35:45 -06:00 committed by GitHub
parent e309e980ce
commit 34253497d4

View File

@ -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)