Fix SD pins for SKR Pro and GTR (#19047)
This commit is contained in:
committed by
Scott Lahteine
parent
0070a0642b
commit
6043f5d5d0
@ -137,6 +137,10 @@ CardReader::CardReader() {
|
||||
// Disable autostart until card is initialized
|
||||
autostart_index = -1;
|
||||
|
||||
#if ENABLED(SDSUPPORT) && PIN_EXISTS(SD_DETECT)
|
||||
SET_INPUT_PULLUP(SD_DETECT_PIN);
|
||||
#endif
|
||||
|
||||
#if PIN_EXISTS(SDPOWER)
|
||||
OUT_WRITE(SDPOWER_PIN, HIGH); // Power the SD reader
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user