mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 16:16:13 +00:00
📌 Creality RAMPS optional SD_DETECT_PIN (#23740)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
28ceb1ed0f
commit
a9682f2e97
1 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,12 @@
|
|||
#endif
|
||||
|
||||
#ifndef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 49 // Always define onboard SD detect
|
||||
#if SD_CONNECTION_IS(ONBOARD)
|
||||
//#define HAS_ONBOARD_SD_DETECT // If the SD_DETECT_PIN is wired up
|
||||
#endif
|
||||
#if ENABLED(HAS_ONBOARD_SD_DETECT) || !SD_CONNECTION_IS(ONBOARD)
|
||||
#define SD_DETECT_PIN 49
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef PS_ON_PIN
|
||||
|
|
Loading…
Reference in a new issue