Fix SD pins for SKR Pro and GTR (#19047)

This commit is contained in:
Jason Smith authored and Scott Lahteine committed 2021-04-29 08:44:57 -05:00
1 parent 0070a0642b
commit 6043f5d5d0
5 files changed
+49 -40

No files matched your search

+4
View File
@@ -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