[1.1.x] Fix LCD axis move E index (#11328)

This commit is contained in:
silentninja1 2018-07-25 03:21:05 -04:00 committed by Scott Lahteine
parent ed0e72bf44
commit 57ce81f067

View File

@ -2919,7 +2919,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
#if EXTRUDERS > 1 #if EXTRUDERS > 1
const int8_t old_extruder = active_extruder; const int8_t old_extruder = active_extruder;
active_extruder = manual_move_e_index; if (manual_move_axis == E_AXIS) active_extruder = manual_move_e_index;
#endif #endif
// Set movement on a single axis // Set movement on a single axis
@ -2945,7 +2945,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
#else #else
planner.buffer_line_kinematic(current_position, MMM_TO_MMS(manual_feedrate_mm_m[manual_move_axis]), manual_move_e_index); planner.buffer_line_kinematic(current_position, MMM_TO_MMS(manual_feedrate_mm_m[manual_move_axis]), manual_move_axis == E_AXIS ? manual_move_e_index : active_extruder);
manual_move_axis = (int8_t)NO_AXIS; manual_move_axis = (int8_t)NO_AXIS;
#endif #endif