Browse Source

Refresh screen on SD Init

pull/1/head
Scott Lahteine 6 years ago
parent
commit
18fedafbc5
  1. 2
      Marlin/src/lcd/menu/menu_sdcard.cpp
  2. 2
      Marlin/src/sd/cardreader.cpp

2
Marlin/src/lcd/menu/menu_sdcard.cpp

@ -33,8 +33,8 @@
#if !PIN_EXISTS(SD_DETECT) #if !PIN_EXISTS(SD_DETECT)
void lcd_sd_refresh() { void lcd_sd_refresh() {
card.initsd();
encoderTopLine = 0; encoderTopLine = 0;
card.initsd();
} }
#endif #endif

2
Marlin/src/sd/cardreader.cpp

@ -384,6 +384,8 @@ void CardReader::initsd() {
SERIAL_ECHO_MSG(MSG_SD_CARD_OK); SERIAL_ECHO_MSG(MSG_SD_CARD_OK);
} }
setroot(); setroot();
ui.refresh();
} }
void CardReader::release() { void CardReader::release() {

Loading…
Cancel
Save