🐛 Fix TFT_COLOR_UI Release Media issue (#23123)

This commit is contained in:
Tanguy Pruvot
2021-12-14 01:41:21 +01:00
committed by Scott Lahteine
parent 7a5f103bcf
commit 6264736968
2 changed files with 8 additions and 3 deletions

View File

@ -26,7 +26,6 @@
#include "../gcode.h"
#include "../../sd/cardreader.h"
#include "../../lcd/marlinui.h"
/**
* M21: Init SD Card
@ -38,7 +37,6 @@ void GcodeSuite::M21() { card.mount(); }
*/
void GcodeSuite::M22() {
if (!IS_SD_PRINTING()) card.release();
IF_ENABLED(TFT_COLOR_UI, ui.refresh(LCDVIEW_CALL_REDRAW_NEXT));
}
#endif // SDSUPPORT