[1.1.x] Fix autostart w/out SD_DETECT_PIN (#15667)

This commit is contained in:
Leo Lima 2019-11-02 13:16:30 +01:00 committed by Scott Lahteine
parent 8c9318c5a3
commit bfa578f0d4

View file

@ -15453,7 +15453,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
}