Merge branch 'lcd_detected' of https://github.com/whosawhatsis/Marlin into Marlin_v1
This commit is contained in:
commit
af8be9013b
|
@ -1051,7 +1051,7 @@ void lcd_update()
|
||||||
lcd_buttons_update();
|
lcd_buttons_update();
|
||||||
|
|
||||||
#if (SDCARDDETECT > 0)
|
#if (SDCARDDETECT > 0)
|
||||||
if((IS_SD_INSERTED != lcd_oldcardstatus))
|
if((IS_SD_INSERTED != lcd_oldcardstatus && lcd_detected()))
|
||||||
{
|
{
|
||||||
lcdDrawUpdate = 2;
|
lcdDrawUpdate = 2;
|
||||||
lcd_oldcardstatus = IS_SD_INSERTED;
|
lcd_oldcardstatus = IS_SD_INSERTED;
|
||||||
|
|
Loading…
Reference in a new issue