Add multi-extruder condition

This commit is contained in:
Scott Lahteine
2020-09-20 18:29:08 -05:00
parent 8e0fac897b
commit 76d8d1742c
50 changed files with 127 additions and 144 deletions

View File

@@ -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