Update SD card connection / sharing options (#14325)
This commit is contained in:
committed by
Scott Lahteine
parent
9f136a7c67
commit
064177154c
@ -1727,3 +1727,18 @@
|
||||
#define LCD_HEIGHT 2
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// The external SD card is not used. Hardware SPI is used to access the card.
|
||||
// When sharing the SD card with a PC we want the menu options to
|
||||
// mount/unmount the card and refresh it. So we disable card detect.
|
||||
//
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#if SD_CONNECTION_IS(ONBOARD) && DISABLED(NO_SD_HOST_DRIVE)
|
||||
#undef SD_DETECT_PIN
|
||||
#define SHARED_SD_CARD
|
||||
#endif
|
||||
#if DISABLED(SHARED_SD_CARD)
|
||||
#define INIT_SDCARD_ON_BOOT
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user