Add multi-extruder condition
This commit is contained in:
@@ -695,7 +695,7 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) {
|
||||
|
||||
#if IS_KINEMATIC
|
||||
|
||||
#if EXTRUDERS > 1
|
||||
#if HAS_MULTI_EXTRUDER
|
||||
const int8_t old_extruder = active_extruder;
|
||||
if (axis == E_AXIS) active_extruder = e_index;
|
||||
#endif
|
||||
@@ -716,9 +716,7 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) {
|
||||
prepare_internal_move_to_destination(fr_mm_s); // will set current_position from destination
|
||||
processing = false;
|
||||
|
||||
#if EXTRUDERS > 1
|
||||
active_extruder = old_extruder;
|
||||
#endif
|
||||
TERN_(HAS_MULTI_EXTRUDER, active_extruder = old_extruder);
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user