Fix autostart w/out SD_DETECT_PIN (#15667)
This commit is contained in:
parent
d2b34d5c21
commit
0a0f2c6a30
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue