Apply LOGICAL_POSITION to home positions on Dual X
This commit is contained in:
parent
053fb55af6
commit
41278c1e8b
@ -1318,11 +1318,11 @@ bool get_target_extruder_from_command(int code) {
|
|||||||
else
|
else
|
||||||
/**
|
/**
|
||||||
* In dual carriage mode the extruder offset provides an override of the
|
* In dual carriage mode the extruder offset provides an override of the
|
||||||
* second X-carriage offset when homed - otherwise X2_HOME_POS is used.
|
* second X-carriage position when homed - otherwise X2_HOME_POS is used.
|
||||||
* This allow soft recalibration of the second extruder offset position
|
* This allows soft recalibration of the second extruder home position
|
||||||
* without firmware reflash (through the M218 command).
|
* without firmware reflash (through the M218 command).
|
||||||
*/
|
*/
|
||||||
return (hotend_offset[X_AXIS][1] > 0) ? hotend_offset[X_AXIS][1] : X2_HOME_POS;
|
return LOGICAL_X_POSITION(hotend_offset[X_AXIS][1] > 0 ? hotend_offset[X_AXIS][1] : X2_HOME_POS);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int x_home_dir(int extruder) {
|
static int x_home_dir(int extruder) {
|
||||||
|
Loading…
Reference in New Issue
Block a user