Return to status when SD card is removed
This commit is contained in:
1 parent
5f2d75f45b
commit
e6484d9dab
2 files changed
+5
-2
No files matched your search
@@ -709,7 +709,10 @@ void MarlinUI::update() {
|
||||
}
|
||||
else {
|
||||
card.release();
|
||||
if (old_sd_status != 2) set_status_P(PSTR(MSG_SD_REMOVED));
|
||||
if (old_sd_status != 2) {
|
||||
set_status_P(PSTR(MSG_SD_REMOVED));
|
||||
if (!on_status_screen()) return_to_status();
|
||||
}
|
||||
}
|
||||
|
||||
refresh();
|
||||
|
||||
Reference in new issue
Block a user