Merge pull request #2383 from wavexx/fix_usb_resume_check

Fix fan_check_error check in usb print resume
This commit is contained in:
DRracer 2020-01-15 12:48:48 +01:00 committed by GitHub
commit 1a8420f3f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6824,10 +6824,15 @@ static void lcd_main_menu()
}
if(isPrintPaused && saved_printing_type == PRINTING_TYPE_USB)
{
#ifdef FANCHECK
if((fan_check_error == EFCE_FIXED) && (saved_printing_type == PRINTING_TYPE_USB))
MENU_ITEM_SUBMENU_P(_i("Resume print"), lcd_resume_print);////MSG_RESUME_PRINT
if((fan_check_error == EFCE_FIXED) || (fan_check_error == EFCE_OK))
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
}
#ifdef SDSUPPORT
if (card.cardOK || lcd_commands_type == LcdCommands::Layer1Cal)