0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-07-14 17:48:32 +00:00

🎨 steps_to_mm => mm_per_step ()

This commit is contained in:
espr14 2021-09-27 21:05:52 +02:00 committed by GitHub
parent f73175d826
commit 228eb9c404
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 58 additions and 58 deletions
Marlin/src/lcd/menu

View file

@ -532,7 +532,7 @@ void menu_advanced_steps_per_mm() {
if (e == active_extruder)
planner.refresh_positioning();
else
planner.steps_to_mm[E_AXIS_N(e)] = 1.0f / planner.settings.axis_steps_per_mm[E_AXIS_N(e)];
planner.mm_per_step[E_AXIS_N(e)] = 1.0f / planner.settings.axis_steps_per_mm[E_AXIS_N(e)];
});
#elif E_STEPPERS
EDIT_ITEM_FAST(float51, MSG_E_STEPS, &planner.settings.axis_steps_per_mm[E_AXIS], 5, 9999, []{ planner.refresh_positioning(); });