|
@@ -1501,13 +1501,11 @@ static void homeaxis(AxisEnum axis) {
|
1501
|
1501
|
|
1502
|
1502
|
if (axis == X_AXIS ? HOMEAXIS_DO(X) : axis == Y_AXIS ? HOMEAXIS_DO(Y) : axis == Z_AXIS ? HOMEAXIS_DO(Z) : 0) {
|
1503
|
1503
|
|
1504
|
|
- int axis_home_dir;
|
1505
|
|
-
|
1506
|
|
- #ifdef DUAL_X_CARRIAGE
|
1507
|
|
- axis_home_dir = (axis == X_AXIS) ? x_home_dir(active_extruder) : home_dir(axis);
|
1508
|
|
- #else
|
1509
|
|
- axis_home_dir = home_dir(axis);
|
1510
|
|
- #endif
|
|
1504
|
+ int axis_home_dir =
|
|
1505
|
+ #ifdef DUAL_X_CARRIAGE
|
|
1506
|
+ (axis == X_AXIS) ? x_home_dir(active_extruder) :
|
|
1507
|
+ #endif
|
|
1508
|
+ home_dir(axis);
|
1511
|
1509
|
|
1512
|
1510
|
// Set the axis position as setup for the move
|
1513
|
1511
|
current_position[axis] = 0;
|