|
@@ -46,15 +46,24 @@ Nozzle nozzle;
|
46
|
46
|
|
47
|
47
|
// Move to the starting point
|
48
|
48
|
#if ENABLED(NOZZLE_CLEAN_NO_Z)
|
49
|
|
- do_blocking_move_to_xy(start);
|
|
49
|
+ #if ENABLED(NOZZLE_CLEAN_NO_Y)
|
|
50
|
+ do_blocking_move_to_x(start.x);
|
|
51
|
+ #else
|
|
52
|
+ do_blocking_move_to_xy(start);
|
|
53
|
+ #endif
|
50
|
54
|
#else
|
51
|
55
|
do_blocking_move_to(start);
|
52
|
56
|
#endif
|
53
|
57
|
|
54
|
58
|
// Start the stroke pattern
|
55
|
59
|
LOOP_L_N(i, strokes >> 1) {
|
56
|
|
- do_blocking_move_to_xy(end);
|
57
|
|
- do_blocking_move_to_xy(start);
|
|
60
|
+ #if ENABLED(NOZZLE_CLEAN_NO_Y)
|
|
61
|
+ do_blocking_move_to_x(end.x);
|
|
62
|
+ do_blocking_move_to_x(start.x);
|
|
63
|
+ #else
|
|
64
|
+ do_blocking_move_to_xy(end);
|
|
65
|
+ do_blocking_move_to_xy(start);
|
|
66
|
+ #endif
|
58
|
67
|
}
|
59
|
68
|
|
60
|
69
|
TERN_(NOZZLE_CLEAN_GOBACK, do_blocking_move_to(oldpos));
|