Refresh screen on SD Init

This commit is contained in:
Scott Lahteine 2018-12-08 15:02:14 -06:00
parent b22716e938
commit 18fedafbc5
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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() {