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
1 changed files with 1 additions and 1 deletions

View File

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