|
|
|
|
1346
|
* at the same positions relative to the machine.
|
1346
|
* at the same positions relative to the machine.
|
1347
|
*/
|
1347
|
*/
|
1348
|
void update_software_endstops(const AxisEnum axis) {
|
1348
|
void update_software_endstops(const AxisEnum axis) {
|
1349
|
- const float offs = workspace_offset[axis] = LOGICAL_POSITION(0, axis);
|
|
|
|
|
1349
|
+ const float offs = workspace_offset[axis] = home_offset[axis] + position_shift[axis];
|
1350
|
|
1350
|
|
1351
|
#if ENABLED(DUAL_X_CARRIAGE)
|
1351
|
#if ENABLED(DUAL_X_CARRIAGE)
|
1352
|
if (axis == X_AXIS) {
|
1352
|
if (axis == X_AXIS) {
|