move in Z before filament loading: intial version
This commit is contained in:
parent
d18160cab5
commit
11aa775322
1 changed files with 8 additions and 0 deletions
|
@ -3114,6 +3114,14 @@ void gcode_M701()
|
|||
custom_message = true;
|
||||
custom_message_type = 2;
|
||||
|
||||
if (current_position[Z_AXIS] < 20) {
|
||||
lcd_setstatuspgm(_T(MSG_PLEASE_WAIT));
|
||||
current_position[Z_AXIS] += 30;
|
||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 400 / 60, active_extruder); //fast sequence
|
||||
st_synchronize();
|
||||
lcd_show_fullscreen_message_and_wait_P(_i("Please insert filament and press the knob."));
|
||||
}
|
||||
|
||||
lcd_setstatuspgm(_T(MSG_LOADING_FILAMENT));
|
||||
current_position[E_AXIS] += 70;
|
||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 400 / 60, active_extruder); //fast sequence
|
||||
|
|
Loading…
Reference in a new issue