mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 16:47:29 +08:00
Rework SD options
This commit is contained in:
parent
431b99d720
commit
3c2bf05b39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user