Browse Source

Fail SD mount without SPI re-init (#19226)

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by Scott Lahteine
parent
commit
919ea2a76d
  1. 5
      Marlin/src/sd/cardreader.cpp

5
Marlin/src/sd/cardreader.cpp

@ -383,10 +383,9 @@ void CardReader::mount() {
if (flag.mounted) if (flag.mounted)
cdroot(); cdroot();
else { else if (marlin_state != MF_INITIALIZING)
spiInit(SPI_SPEED); // Return to base SPI speed
ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1); ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1);
}
ui.refresh(); ui.refresh();
} }

Loading…
Cancel
Save