M600 fixes
This commit is contained in:
committed by
Scott Lahteine
parent
311f6aff72
commit
3d24c329af
@ -1107,11 +1107,16 @@ void kill_screen(const char* lcd_msg) {
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
void lcd_enqueue_filament_change() {
|
||||
if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
|
||||
lcd_save_previous_screen();
|
||||
lcd_goto_screen(lcd_advanced_pause_toocold_menu);
|
||||
return;
|
||||
}
|
||||
|
||||
#if ENABLED(PREVENT_COLD_EXTRUSION)
|
||||
if (!DEBUGGING(DRYRUN) && !thermalManager.allow_cold_extrude &&
|
||||
thermalManager.degTargetHotend(active_extruder) < thermalManager.extrude_min_temp) {
|
||||
lcd_save_previous_screen();
|
||||
lcd_goto_screen(lcd_advanced_pause_toocold_menu);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_INIT);
|
||||
enqueue_and_echo_commands_P(PSTR("M600 B0"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user