Rework SD options

This commit is contained in:
thisiskeithb 2024-01-24 01:25:15 -08:00
parent 431b99d720
commit 3c2bf05b39
No known key found for this signature in database
GPG Key ID: 563DA16B756772CE

View File

@ -205,13 +205,6 @@
//#define E0_FAN_TACHO_PIN PB4 // FAN1
#endif
//
// SD Support
//
#if HAS_WIRED_LCD && !defined(SDCARD_CONNECTION)
#define SDCARD_CONNECTION LCD
#endif
//
// SPI pins for TMC5160 HV-STEPPER drivers
//
@ -287,11 +280,15 @@
#define EXP2_10_PIN PE4
//
// SD card options
// SD Support
//
#if !defined(SDCARD_CONNECTION) && DISABLED(NO_LCD_SDCARD)
#define SDCARD_CONNECTION LCD
#endif
#if SD_CONNECTION_IS(LCD)
#define SDSS EXP2_04_PIN
#define SDSS EXP2_04_PIN
#define SD_SS_PIN SDSS
#define SD_SCK_PIN EXP2_02_PIN
#define SD_MISO_PIN EXP2_01_PIN