|
|
|
@ -70,8 +70,7 @@ class Nozzle {
|
|
|
|
|
|
|
|
|
|
#if ENABLED(NOZZLE_CLEAN_GOBACK)
|
|
|
|
|
// Move the nozzle to the initial point
|
|
|
|
|
do_blocking_move_to_z(initial.z);
|
|
|
|
|
do_blocking_move_to_xy(initial.x, initial.y);
|
|
|
|
|
do_blocking_move_to(initial.x, initial.y, initial.z);
|
|
|
|
|
#endif // NOZZLE_CLEAN_GOBACK
|
|
|
|
|
|
|
|
|
|
#endif // NOZZLE_CLEAN_FEATURE
|
|
|
|
@ -149,6 +148,10 @@ class Nozzle {
|
|
|
|
|
__attribute__((unused)) uint8_t const &objects = 0
|
|
|
|
|
) __attribute__((optimize ("Os"))) {
|
|
|
|
|
#if ENABLED(NOZZLE_CLEAN_FEATURE)
|
|
|
|
|
#if ENABLED(DELTA)
|
|
|
|
|
if (current_position[Z_AXIS] > delta_clip_start_height)
|
|
|
|
|
do_blocking_move_to_z(delta_clip_start_height);
|
|
|
|
|
#endif
|
|
|
|
|
switch (pattern) {
|
|
|
|
|
case 1:
|
|
|
|
|
Nozzle::zigzag(
|
|
|
|
|