|
@@ -1318,11 +1318,11 @@ bool get_target_extruder_from_command(int code) {
|
1318
|
1318
|
else
|
1319
|
1319
|
/**
|
1320
|
1320
|
* In dual carriage mode the extruder offset provides an override of the
|
1321
|
|
- * second X-carriage offset when homed - otherwise X2_HOME_POS is used.
|
1322
|
|
- * This allow soft recalibration of the second extruder offset position
|
|
1321
|
+ * second X-carriage position when homed - otherwise X2_HOME_POS is used.
|
|
1322
|
+ * This allows soft recalibration of the second extruder home position
|
1323
|
1323
|
* without firmware reflash (through the M218 command).
|
1324
|
1324
|
*/
|
1325
|
|
- return (hotend_offset[X_AXIS][1] > 0) ? hotend_offset[X_AXIS][1] : X2_HOME_POS;
|
|
1325
|
+ return LOGICAL_X_POSITION(hotend_offset[X_AXIS][1] > 0 ? hotend_offset[X_AXIS][1] : X2_HOME_POS);
|
1326
|
1326
|
}
|
1327
|
1327
|
|
1328
|
1328
|
static int x_home_dir(int extruder) {
|