cleanup: move st_synchronize under the if statement
If the if statement is not true, then the st_synchronize call is not useful The raise_z call above the if statement does not need it since it always calls st_synchronize (blocking move) No change in memory
This commit is contained in:
parent
8fa97cffda
commit
c0b76dd5cf
|
|
@ -5666,8 +5666,8 @@ void lcd_print_stop_finish()
|
|||
current_position[X_AXIS] = X_CANCEL_POS;
|
||||
current_position[Y_AXIS] = Y_CANCEL_POS;
|
||||
plan_buffer_line_curposXYZE(manual_feedrate[0] / 60);
|
||||
st_synchronize();
|
||||
}
|
||||
st_synchronize();
|
||||
|
||||
#ifdef COMMUNITY_PREVENT_OOZE
|
||||
// Retract filament to prevent oozing
|
||||
|
|
|
|||
Loading…
Reference in New Issue