|
|
|
|
929
|
#elif ENABLED(SWITCHING_NOZZLE) && !SWITCHING_NOZZLE_TWO_SERVOS // Switching Nozzle (single servo)
|
929
|
#elif ENABLED(SWITCHING_NOZZLE) && !SWITCHING_NOZZLE_TWO_SERVOS // Switching Nozzle (single servo)
|
930
|
// Raise by a configured distance to avoid workpiece, except with
|
930
|
// Raise by a configured distance to avoid workpiece, except with
|
931
|
// SWITCHING_NOZZLE_TWO_SERVOS, as both nozzles will lift instead.
|
931
|
// SWITCHING_NOZZLE_TWO_SERVOS, as both nozzles will lift instead.
|
932
|
- current_position.z += _MAX(-zdiff, 0.0) + toolchange_settings.z_raise;
|
|
|
|
|
932
|
+ current_position.z += _MAX(-diff.z, 0.0) + toolchange_settings.z_raise;
|
933
|
#if HAS_SOFTWARE_ENDSTOPS
|
933
|
#if HAS_SOFTWARE_ENDSTOPS
|
934
|
NOMORE(current_position.z, soft_endstop.max.z);
|
934
|
NOMORE(current_position.z, soft_endstop.max.z);
|
935
|
#endif
|
935
|
#endif
|