Option to set manual Babystepping distance in mm (#18503)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
@@ -587,6 +587,17 @@ void _lcd_draw_homing();
|
||||
#else
|
||||
void lcd_babystep_z();
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEP_MILLIMETER_UNITS)
|
||||
#define BABYSTEP_SIZE_X int32_t((BABYSTEP_MULTIPLICATOR_XY) * planner.settings.axis_steps_per_mm[X_AXIS])
|
||||
#define BABYSTEP_SIZE_Y int32_t((BABYSTEP_MULTIPLICATOR_XY) * planner.settings.axis_steps_per_mm[Y_AXIS])
|
||||
#define BABYSTEP_SIZE_Z int32_t((BABYSTEP_MULTIPLICATOR_Z) * planner.settings.axis_steps_per_mm[Z_AXIS])
|
||||
#else
|
||||
#define BABYSTEP_SIZE_X BABYSTEP_MULTIPLICATOR_XY
|
||||
#define BABYSTEP_SIZE_Y BABYSTEP_MULTIPLICATOR_XY
|
||||
#define BABYSTEP_SIZE_Z BABYSTEP_MULTIPLICATOR_Z
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
|
||||
Reference in New Issue
Block a user