|
@@ -16,23 +16,23 @@
|
16
|
16
|
//
|
17
|
17
|
//This section is to swap the MIN and MAX pins because the X3 Pro comes with only
|
18
|
18
|
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be
|
19
|
|
-//the MAX so I swapped them here. Comment them out with // if you want them original.
|
20
|
|
-//Note: I had to solder on the additional MAX Endstop pins to attach a Z-Probe
|
21
|
|
-//endstop switch.
|
|
19
|
+//the MAX so I swapped them here.
|
22
|
20
|
//
|
23
|
|
-//#undef X_MIN_PIN
|
24
|
|
-//#undef X_MAX_PIN
|
25
|
|
-//#undef Y_MIN_PIN
|
26
|
|
-//#undef Y_MAX_PIN
|
27
|
|
-//#undef Z_MIN_PIN
|
28
|
|
-//#undef Z_MAX_PIN
|
|
21
|
+ #ifdef DELTA
|
|
22
|
+ #undef X_MIN_PIN
|
|
23
|
+ #undef X_MAX_PIN
|
|
24
|
+ #undef Y_MIN_PIN
|
|
25
|
+ #undef Y_MAX_PIN
|
|
26
|
+ #undef Z_MIN_PIN
|
|
27
|
+ #undef Z_MAX_PIN
|
29
|
28
|
|
30
|
|
-//#define X_MIN_PIN 2
|
31
|
|
-//#define X_MAX_PIN 3
|
32
|
|
-//#define Y_MIN_PIN 15
|
33
|
|
-//#define Y_MAX_PIN 14
|
34
|
|
-//#define Z_MIN_PIN 19
|
35
|
|
-//#define Z_MAX_PIN 18
|
|
29
|
+ #define X_MIN_PIN 2
|
|
30
|
+ #define X_MAX_PIN 3
|
|
31
|
+ #define Y_MIN_PIN 15
|
|
32
|
+ #define Y_MAX_PIN 14
|
|
33
|
+ #define Z_MIN_PIN 19
|
|
34
|
+ #define Z_MAX_PIN 18
|
|
35
|
+ #endif
|
36
|
36
|
//
|
37
|
37
|
|
38
|
38
|
#define E2_STEP_PIN 23
|