-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Closed
Description
Bug Description
When inserting SD-card in SD-card slot of LCD display module, SD-card is not detected, so display's menu does not update with file list/directory.
Steps to Reproduce
With Controller Board MKS_SGEN_L selected,
when enabling LCD's SD-card in Configuration_adv.h file,
line 1153...
#if HAS_SDCARD_CONNECTION
with..
#define SDCARD_CONNECTION LCD
Above configuration properly disables the ONBOARD SD-card and enables the LCD SD-card because both slots use same SD-DETECT_PIN ( P0.27 ).
Suggested Fix.
In file: pins_MKS_SGEN_L.h, line 269...
#if SD_CONNECTION_IS(LCD),
add...
#define SD_DETECT_PIN P0_27
Additional Information
Pin mapping of SD_DETECT_PIN is only defined for SD_CONNECTION_IS( ONBOARD ).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels