Refresh screen on SD Init

2.0.x
Scott Lahteine 6 years ago
parent b22716e938
commit 18fedafbc5

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

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