File tree Expand file tree Collapse file tree 1 file changed +32
-12
lines changed Expand file tree Collapse file tree 1 file changed +32
-12
lines changed Original file line number Diff line number Diff line change 46
46
//
47
47
// Limit Switches
48
48
//
49
- #define X_STOP_PIN PC13
50
- #define Y_STOP_PIN PC14
51
- #define Z_STOP_PIN PC15
49
+ #if ENABLED (M300_ROTATE_TOWERS )
50
+ #define X_STOP_PIN PC14
51
+ #define Y_STOP_PIN PC15
52
+ #define Z_STOP_PIN PC13
53
+ #else
54
+ #define X_STOP_PIN PC13
55
+ #define Y_STOP_PIN PC14
56
+ #define Z_STOP_PIN PC15
57
+ #endif
52
58
53
59
#ifndef Z_MIN_PROBE_PIN
54
60
#define Z_MIN_PROBE_PIN PB7
57
63
//
58
64
// Steppers
59
65
//
60
- #define X_STEP_PIN PB14
61
- #define X_DIR_PIN PB13
62
- #define X_ENABLE_PIN PB10
66
+ #if ENABLED (M300_ROTATE_TOWERS )
67
+ #define X_STEP_PIN PB12
68
+ #define X_DIR_PIN PB11
69
+ #define X_ENABLE_PIN PB10
70
+
71
+ #define Y_STEP_PIN PB2
72
+ #define Y_DIR_PIN PB1
73
+ #define Y_ENABLE_PIN PB10
63
74
64
- #define Y_STEP_PIN PB12
65
- #define Y_DIR_PIN PB11
66
- #define Y_ENABLE_PIN PB10
75
+ #define Z_STEP_PIN PB14
76
+ #define Z_DIR_PIN PB13
77
+ #define Z_ENABLE_PIN PB10
78
+ #else
79
+ #define X_STEP_PIN PB14
80
+ #define X_DIR_PIN PB13
81
+ #define X_ENABLE_PIN PB10
67
82
68
- #define Z_STEP_PIN PB2
69
- #define Z_DIR_PIN PB1
70
- #define Z_ENABLE_PIN PB10
83
+ #define Y_STEP_PIN PB12
84
+ #define Y_DIR_PIN PB11
85
+ #define Y_ENABLE_PIN PB10
86
+
87
+ #define Z_STEP_PIN PB2
88
+ #define Z_DIR_PIN PB1
89
+ #define Z_ENABLE_PIN PB10
90
+ #endif
71
91
72
92
#define E0_STEP_PIN PA7
73
93
#define E0_DIR_PIN PA6
You can’t perform that action at this time.
0 commit comments