NO_SD_DETECT option (#20741)

This commit is contained in:
Victor Oliveira authored and Scott Lahteine committed 2021-04-29 08:45:11 -05:00
1 parent fa6a2f52e2
commit be3caa4686
2 files changed
+9 -1

No files matched your search

+5
View File
@@ -323,6 +323,11 @@
*/
#if ENABLED(SDSUPPORT)
// Extender cable doesn't support SD_DETECT_PIN
#if ENABLED(NO_SD_DETECT)
#undef SD_DETECT_PIN
#endif
#if HAS_SD_HOST_DRIVE && SD_CONNECTION_IS(ONBOARD)
//
// The external SD card is not used. Hardware SPI is used to access the card.