|
@@ -26,22 +26,22 @@
|
26
|
26
|
#include "../../inc/MarlinConfig.h"
|
27
|
27
|
|
28
|
28
|
#if MB(MKS_SBASE)
|
29
|
|
-
|
30
|
|
-#define LPC_SOFTWARE_SPI // MKS_SBASE needs a software SPI because the
|
|
29
|
+
|
|
30
|
+#define LPC_SOFTWARE_SPI // MKS_SBASE needs a software SPI because the
|
31
|
31
|
// selected pins are not on a hardware SPI controller
|
32
|
32
|
|
33
|
|
-// A custom cable is needed. See the README file in the
|
|
33
|
+// A custom cable is needed. See the README file in the
|
34
|
34
|
// Marlin\src\config\examples\Mks\Sbase directory
|
35
|
35
|
|
36
|
36
|
#define SCK_PIN P1_22 // J8-2 (moved from EXP2 P0.7)
|
37
|
|
-#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
38
|
|
-#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
|
39
|
|
-#define SS_PIN P0_28
|
|
37
|
+#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
|
38
|
+#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
|
|
39
|
+#define SS_PIN P0_28
|
40
|
40
|
|
41
|
41
|
#else
|
42
|
42
|
|
43
|
|
-#define LPC_SOFTWARE_SPI // Re-ARM board needs a software SPI because using the
|
44
|
|
- // standard LCD adapter results in the LCD and the
|
|
43
|
+#define LPC_SOFTWARE_SPI // Re-ARM board needs a software SPI because using the
|
|
44
|
+ // standard LCD adapter results in the LCD and the
|
45
|
45
|
// SD card sharing a single SPI when the RepRap Full
|
46
|
46
|
// Graphic Smart Controller is selected
|
47
|
47
|
|