sorting files disabled in farm mode, start printer status needs reponse from monitoring

This commit is contained in:
PavelSindler 2017-08-29 16:52:14 +02:00
parent ddeb7b8c84
commit f45f206faf
3 changed files with 9 additions and 8 deletions

View file

@ -440,3 +440,4 @@ void gcode_M701();
#define UVLO !(PINE & (1<<4)) #define UVLO !(PINE & (1<<4))
void extr_unload2(); void extr_unload2();
void proc_commands();

View file

@ -3286,17 +3286,17 @@ void process_commands()
enquecommand_front_P((PSTR("G28 W0"))); enquecommand_front_P((PSTR("G28 W0")));
break; break;
} }
lcd_show_fullscreen_message_and_wait_P(MSG_TEMP_CAL_WARNING); 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); bool result = lcd_show_fullscreen_message_yes_no_and_wait_P(MSG_STEEL_SHEET_CHECK, false, false);
if (result) if (result)
{ {
current_position[Z_AXIS] = 50; current_position[Z_AXIS] = 50;
current_position[Y_AXIS] = 190; 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); 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(); st_synchronize();
lcd_show_fullscreen_message_and_wait_P(MSG_REMOVE_STEEL_SHEET); lcd_show_fullscreen_message_and_wait_P(MSG_REMOVE_STEEL_SHEET);
} }
lcd_update_enable(true); lcd_update_enable(true);
KEEPALIVE_STATE(NOT_BUSY); //no need to print busy messages as we print current temperatures periodicaly KEEPALIVE_STATE(NOT_BUSY); //no need to print busy messages as we print current temperatures periodicaly
SERIAL_ECHOLNPGM("PINDA probe calibration start"); SERIAL_ECHOLNPGM("PINDA probe calibration start");

View file

@ -7202,7 +7202,7 @@ static void lcd_connect_printer() {
i++; i++;
t++; t++;
delay_keep_alive(100); delay_keep_alive(100);
process_commands(); process_command_small();
if (t == 10) { if (t == 10) {
prusa_statistics(important_status, saved_filament_type); prusa_statistics(important_status, saved_filament_type);
t = 0; t = 0;