diff --git a/Firmware/Marlin.h b/Firmware/Marlin.h index 5107d3a2..330338ae 100644 --- a/Firmware/Marlin.h +++ b/Firmware/Marlin.h @@ -440,3 +440,4 @@ void gcode_M701(); #define UVLO !(PINE & (1<<4)) void extr_unload2(); +void proc_commands(); diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 6b66d82c..bd444e10 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -3286,17 +3286,17 @@ void process_commands() enquecommand_front_P((PSTR("G28 W0"))); break; } - lcd_show_fullscreen_message_and_wait_P(MSG_TEMP_CAL_WARNING); - bool result = lcd_show_fullscreen_message_yes_no_and_wait_P(MSG_STEEL_SHEET_CHECK, false, false); - if (result) - { + lcd_show_fullscreen_message_and_wait_P(MSG_TEMP_CAL_WARNING); + bool result = lcd_show_fullscreen_message_yes_no_and_wait_P(MSG_STEEL_SHEET_CHECK, false, false); + if (result) + { current_position[Z_AXIS] = 50; current_position[Y_AXIS] = 190; plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 3000 / 60, active_extruder); st_synchronize(); - lcd_show_fullscreen_message_and_wait_P(MSG_REMOVE_STEEL_SHEET); - } - lcd_update_enable(true); + lcd_show_fullscreen_message_and_wait_P(MSG_REMOVE_STEEL_SHEET); + } + lcd_update_enable(true); KEEPALIVE_STATE(NOT_BUSY); //no need to print busy messages as we print current temperatures periodicaly SERIAL_ECHOLNPGM("PINDA probe calibration start"); diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 7995fc56..5597702a 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -7202,7 +7202,7 @@ static void lcd_connect_printer() { i++; t++; delay_keep_alive(100); - process_commands(); + process_command_small(); if (t == 10) { prusa_statistics(important_status, saved_filament_type); t = 0;