Fix autostart w/out SD_DETECT_PIN (#15667)

This commit is contained in:
Ivo Pischner
2020-10-27 13:12:45 +01:00
parent d2b34d5c21
commit 0a0f2c6a30

View File

@@ -15464,7 +15464,7 @@ void setup() {
enable_D();
#endif
#if ENABLED(SDSUPPORT) && DISABLED(ULTRA_LCD)
#if ENABLED(SDSUPPORT) && !(ENABLED(ULTRA_LCD) && PIN_EXISTS(SD_DETECT))
card.beginautostart();
#endif
}