Skip to content

Commit

Permalink
[1.1.x] Fix autostart w/out SD_DETECT_PIN (MarlinFirmware#15667)
Browse files Browse the repository at this point in the history
  • Loading branch information
leolimajr authored and thinkyhead committed Nov 2, 2019
1 parent 8c9318c commit bfa578f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bfa578f

Please sign in to comment.