mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 20:43:32 +00:00
Fail SD mount without SPI re-init (#19226)
This commit is contained in:
parent
755a4440e7
commit
919ea2a76d
@ -383,10 +383,9 @@ void CardReader::mount() {
|
||||
|
||||
if (flag.mounted)
|
||||
cdroot();
|
||||
else {
|
||||
spiInit(SPI_SPEED); // Return to base SPI speed
|
||||
else if (marlin_state != MF_INITIALIZING)
|
||||
ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1);
|
||||
}
|
||||
|
||||
ui.refresh();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user