|
@@ -491,12 +491,12 @@ void CardReader::manage_media() {
|
491
|
491
|
|
492
|
492
|
if (stat) { // Media Inserted
|
493
|
493
|
safe_delay(500); // Some boards need a delay to get settled
|
494
|
|
- if (TERN1(SD_IGNORE_AT_STARTUP, old_stat != 2))
|
495
|
|
- mount(); // Try to mount the media
|
496
|
|
- #if MB(FYSETC_CHEETAH, FYSETC_CHEETAH_V12, FYSETC_AIO_II)
|
497
|
|
- reset_stepper_drivers(); // Workaround for Cheetah bug
|
498
|
|
- #endif
|
|
494
|
+
|
|
495
|
+ // Try to mount the media (only later with SD_IGNORE_AT_STARTUP)
|
|
496
|
+ if (TERN1(SD_IGNORE_AT_STARTUP, media_stat.inited)) mount();
|
499
|
497
|
if (!isMounted()) stat = 0; // Not mounted?
|
|
498
|
+
|
|
499
|
+ TERN_(RESET_STEPPERS_ON_MEDIA_INSERT, reset_stepper_drivers()); // Workaround for Cheetah bug
|
500
|
500
|
}
|
501
|
501
|
else {
|
502
|
502
|
#if PIN_EXISTS(SD_DETECT)
|