Skip to content

Commit 8182740

Browse files
committed
fix test
1 parent d73ef0d commit 8182740

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Marlin/src/sd/cardreader.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,9 @@ void CardReader::manage_media() {
540540
}
541541
else {
542542
TERN_(HAS_SD_DETECT, release()); // Card is released
543-
ui.return_to_status();
543+
#if HAS_WIRED_LCD
544+
ui.return_to_status();
545+
#endif
544546
}
545547

546548
ui.media_changed(old_stat, stat); // Update the UI or flag an error

0 commit comments

Comments
 (0)