|
@ -684,8 +684,11 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) { |
|
|
|
|
|
|
|
|
millis_t ManualMove::start_time = 0; |
|
|
millis_t ManualMove::start_time = 0; |
|
|
float ManualMove::menu_scale = 1; |
|
|
float ManualMove::menu_scale = 1; |
|
|
TERN_(IS_KINEMATIC, float ManualMove::offset = 0); |
|
|
#if IS_KINEMATIC |
|
|
TERN_(IS_KINEMATIC, bool ManualMove::processing = false); |
|
|
float ManualMove::offset = 0; |
|
|
|
|
|
xyze_pos_t ManualMove::all_axes_destination = { 0 }; |
|
|
|
|
|
bool ManualMove::processing = false; |
|
|
|
|
|
#endif |
|
|
TERN_(MULTI_MANUAL, int8_t ManualMove::e_index = 0); |
|
|
TERN_(MULTI_MANUAL, int8_t ManualMove::e_index = 0); |
|
|
AxisEnum ManualMove::axis = NO_AXIS; |
|
|
AxisEnum ManualMove::axis = NO_AXIS; |
|
|
|
|
|
|
|
@ -725,8 +728,12 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Apply a linear offset to a single axis
|
|
|
// Apply a linear offset to a single axis
|
|
|
destination = current_position; |
|
|
if (axis == ALL_AXES) |
|
|
if (axis <= XYZE) destination[axis] += offset; |
|
|
destination = all_axes_destination; |
|
|
|
|
|
else if (axis <= XYZE) { |
|
|
|
|
|
destination = current_position; |
|
|
|
|
|
destination[axis] += offset; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Reset for the next move
|
|
|
// Reset for the next move
|
|
|
offset = 0; |
|
|
offset = 0; |
|
|