Refresh screen on SD Init
This commit is contained in:
parent
b22716e938
commit
18fedafbc5
2 changed files with 3 additions and 1 deletions
|
@ -33,8 +33,8 @@
|
|||
|
||||
#if !PIN_EXISTS(SD_DETECT)
|
||||
void lcd_sd_refresh() {
|
||||
card.initsd();
|
||||
encoderTopLine = 0;
|
||||
card.initsd();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -384,6 +384,8 @@ void CardReader::initsd() {
|
|||
SERIAL_ECHO_MSG(MSG_SD_CARD_OK);
|
||||
}
|
||||
setroot();
|
||||
|
||||
ui.refresh();
|
||||
}
|
||||
|
||||
void CardReader::release() {
|
||||
|
|
Reference in a new issue