Fix fan_check_error check in usb print resume
Also check for fan_check_error == EFCE_OK in addition to EFCE_FIXED. Reorganize the check in order to fix both #if[n]def FANCHECK cases, as similarly done in the SDSUPPORT case a few lines below.
This commit is contained in:
parent
955c88cf68
commit
a31319888c
|
|
@ -6910,10 +6910,15 @@ static void lcd_main_menu()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if(isPrintPaused && saved_printing_type == PRINTING_TYPE_USB)
|
||||||
|
{
|
||||||
#ifdef FANCHECK
|
#ifdef FANCHECK
|
||||||
if((fan_check_error == EFCE_FIXED) && (saved_printing_type == PRINTING_TYPE_USB))
|
if((fan_check_error == EFCE_FIXED) || (fan_check_error == EFCE_OK))
|
||||||
MENU_ITEM_SUBMENU_P(_i("Resume print"), lcd_resume_print);////MSG_RESUME_PRINT
|
MENU_ITEM_SUBMENU_P(_i("Resume print"), lcd_resume_print);////MSG_RESUME_PRINT
|
||||||
|
#else
|
||||||
|
MENU_ITEM_SUBMENU_P(_i("Resume print"), lcd_resume_print);////MSG_RESUME_PRINT
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef SDSUPPORT
|
#ifdef SDSUPPORT
|
||||||
if (card.cardOK || lcd_commands_type == LcdCommands::Layer1Cal)
|
if (card.cardOK || lcd_commands_type == LcdCommands::Layer1Cal)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue