Fix compilation warnings, errors (#14704)

This commit is contained in:
Marcio Teixeira
2019-07-22 19:08:54 -06:00
committed by Scott Lahteine
parent a589456a14
commit 369fb2806d
4 changed files with 7 additions and 6 deletions

View File

@ -538,7 +538,7 @@ void MarlinUI::status_screen() {
return;
}
#endif // HAS_LCD_MENU
#endif
#if ENABLED(ULTIPANEL_FEEDMULTIPLY)
@ -802,7 +802,9 @@ void MarlinUI::update() {
card.release();
if (old_sd_status != 2) {
set_status_P(PSTR(MSG_SD_REMOVED));
if (!on_status_screen()) return_to_status();
#if HAS_LCD_MENU
return_to_status();
#endif
}
}