NOZZLE_CLEAN_NO_Y (#18870)
This commit is contained in:
committed by
Scott Lahteine
parent
05d2bb0df5
commit
fe89f5fdff
@ -46,15 +46,24 @@ Nozzle nozzle;
|
||||
|
||||
// Move to the starting point
|
||||
#if ENABLED(NOZZLE_CLEAN_NO_Z)
|
||||
do_blocking_move_to_xy(start);
|
||||
#if ENABLED(NOZZLE_CLEAN_NO_Y)
|
||||
do_blocking_move_to_x(start.x);
|
||||
#else
|
||||
do_blocking_move_to_xy(start);
|
||||
#endif
|
||||
#else
|
||||
do_blocking_move_to(start);
|
||||
#endif
|
||||
|
||||
// Start the stroke pattern
|
||||
LOOP_L_N(i, strokes >> 1) {
|
||||
do_blocking_move_to_xy(end);
|
||||
do_blocking_move_to_xy(start);
|
||||
#if ENABLED(NOZZLE_CLEAN_NO_Y)
|
||||
do_blocking_move_to_x(end.x);
|
||||
do_blocking_move_to_x(start.x);
|
||||
#else
|
||||
do_blocking_move_to_xy(end);
|
||||
do_blocking_move_to_xy(start);
|
||||
#endif
|
||||
}
|
||||
|
||||
TERN_(NOZZLE_CLEAN_GOBACK, do_blocking_move_to(oldpos));
|
||||
|
Reference in New Issue
Block a user