Enable Tune menu during fan check issues, user can then disable the fan check if needed.

Send //action:cancel when LCD Stop print is selected.
This commit is contained in:
3d-gussner 2024-09-17 15:08:30 +02:00
parent 0bbe7f6714
commit 2c5c7da784
1 changed files with 2 additions and 3 deletions

View File

@ -5216,7 +5216,7 @@ static void lcd_main_menu()
MENU_ITEM_FUNCTION_P(_T(MSG_FILAMENTCHANGE), lcd_colorprint_change);//8 MENU_ITEM_FUNCTION_P(_T(MSG_FILAMENTCHANGE), lcd_colorprint_change);//8
if (!printer_recovering()) { if (!printer_recovering()) {
if ( moves_planned() || printer_active()) { if ( moves_planned() || printer_active() || fan_check_error == EFCE_REPORTED) {
MENU_ITEM_SUBMENU_P(_T(MSG_TUNE), lcd_tune_menu); MENU_ITEM_SUBMENU_P(_T(MSG_TUNE), lcd_tune_menu);
} else if (!Stopped) { } else if (!Stopped) {
MENU_ITEM_SUBMENU_P(_T(MSG_PREHEAT), lcd_preheat_menu); MENU_ITEM_SUBMENU_P(_T(MSG_PREHEAT), lcd_preheat_menu);
@ -5719,9 +5719,8 @@ void print_stop(bool interactive, bool unconditional_stop)
// Reset the sd status // Reset the sd status
card.sdprinting = false; card.sdprinting = false;
card.closefile(); card.closefile();
} else {
SERIAL_ECHOLNRPGM(MSG_HOST_ACTION_CANCEL);
} }
SERIAL_ECHOLNRPGM(MSG_HOST_ACTION_CANCEL);
#ifdef MESH_BED_LEVELING #ifdef MESH_BED_LEVELING
mbl.active = false; mbl.active = false;