🩹 Media Change followup (#24302)

Followup to #24015
This commit is contained in:
ellensp
2022-06-07 18:59:21 +12:00
committed by GitHub
parent 9e73fd7149
commit 3e9fb34892
11 changed files with 42 additions and 35 deletions

View File

@@ -1756,7 +1756,7 @@ void MarlinUI::init() {
if (old_status < 2) {
#if ENABLED(EXTENSIBLE_UI)
ExtUI::onMediaRemoved();
#elif PIN_EXISTS(SD_DETECT)
#elif HAS_SD_DETECT
LCD_MESSAGE(MSG_MEDIA_REMOVED);
#if HAS_MARLINUI_MENU
if (!defer_return_to_status) return_to_status();