Fix homing of YZ with DUAL_X_CARRIAGE

This commit is contained in:
Scott Lahteine 2015-04-23 17:56:37 -07:00
parent 3b97a7d446
commit 8534bc376c

View File

@ -1504,7 +1504,7 @@ static void homeaxis(AxisEnum axis) {
int axis_home_dir;
#ifdef DUAL_X_CARRIAGE
if (axis == X_AXIS) axis_home_dir = x_home_dir(active_extruder);
axis_home_dir = (axis == X_AXIS) ? x_home_dir(active_extruder) : home_dir(axis);
#else
axis_home_dir = home_dir(axis);
#endif