Enable SD Card on RepRap Display and RADDS (#12446)
* Enable SD Card on RepRap Display and RADDS Define the necessary pins in `pins_RADDS.h` (copied from the `RADDS_DISPLAY` section) for the use of the SD card slot on RRD.
This commit is contained in:
parent
56a94c2a26
commit
984c4ba8c7
|
@ -193,7 +193,6 @@
|
||||||
//
|
//
|
||||||
// Misc. Functions
|
// Misc. Functions
|
||||||
//
|
//
|
||||||
#define SDSS 4
|
|
||||||
#define SD_DETECT_PIN 14
|
#define SD_DETECT_PIN 14
|
||||||
#define PS_ON_PIN 40 // SERVO3_PIN
|
#define PS_ON_PIN 40 // SERVO3_PIN
|
||||||
|
|
||||||
|
@ -227,7 +226,6 @@
|
||||||
|
|
||||||
#define BTN_BACK 71
|
#define BTN_BACK 71
|
||||||
|
|
||||||
#undef SDSS
|
|
||||||
#define SDSS 10
|
#define SDSS 10
|
||||||
#define SD_DETECT_PIN 14
|
#define SD_DETECT_PIN 14
|
||||||
|
|
||||||
|
@ -246,6 +244,9 @@
|
||||||
#define BTN_EN2 52
|
#define BTN_EN2 52
|
||||||
#define BTN_ENC 48
|
#define BTN_ENC 48
|
||||||
|
|
||||||
|
#define SDSS 10
|
||||||
|
#define SD_DETECT_PIN 14
|
||||||
|
|
||||||
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
||||||
|
|
||||||
#define BTN_EN1 50
|
#define BTN_EN1 50
|
||||||
|
@ -268,3 +269,7 @@
|
||||||
#endif // SPARK_FULL_GRAPHICS
|
#endif // SPARK_FULL_GRAPHICS
|
||||||
|
|
||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD
|
||||||
|
|
||||||
|
#ifndef SDSS
|
||||||
|
#define SDSS 4
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue