|
@@ -562,25 +562,25 @@ void lcd_set_home_offsets() {
|
562
|
562
|
#if ENABLED(BABYSTEP_XY)
|
563
|
563
|
switch(axis) {
|
564
|
564
|
case X_AXIS: // X on CoreXY and CoreXZ
|
565
|
|
- babystepsTodo[A_AXIS] += distance * 2;
|
566
|
|
- babystepsTodo[CORE_AXIS_2] += distance * 2;
|
|
565
|
+ thermalManager.babystepsTodo[A_AXIS] += distance * 2;
|
|
566
|
+ thermalManager.babystepsTodo[CORE_AXIS_2] += distance * 2;
|
567
|
567
|
break;
|
568
|
568
|
case CORE_AXIS_2: // Y on CoreXY, Z on CoreXZ
|
569
|
|
- babystepsTodo[A_AXIS] += distance * 2;
|
570
|
|
- babystepsTodo[CORE_AXIS_2] -= distance * 2;
|
|
569
|
+ thermalManager.babystepsTodo[A_AXIS] += distance * 2;
|
|
570
|
+ thermalManager.babystepsTodo[CORE_AXIS_2] -= distance * 2;
|
571
|
571
|
break;
|
572
|
572
|
case CORE_AXIS_3: // Z on CoreXY, Y on CoreXZ
|
573
|
|
- babystepsTodo[CORE_AXIS_3] += distance;
|
|
573
|
+ thermalManager.babystepsTodo[CORE_AXIS_3] += distance;
|
574
|
574
|
break;
|
575
|
575
|
}
|
576
|
576
|
#elif ENABLED(COREXZ)
|
577
|
|
- babystepsTodo[A_AXIS] += distance * 2;
|
578
|
|
- babystepsTodo[C_AXIS] -= distance * 2;
|
|
577
|
+ thermalManager.babystepsTodo[A_AXIS] += distance * 2;
|
|
578
|
+ thermalManager.babystepsTodo[C_AXIS] -= distance * 2;
|
579
|
579
|
#else
|
580
|
|
- babystepsTodo[Z_AXIS] += distance;
|
|
580
|
+ thermalManager.babystepsTodo[Z_AXIS] += distance;
|
581
|
581
|
#endif
|
582
|
582
|
#else
|
583
|
|
- babystepsTodo[axis] += distance;
|
|
583
|
+ thermalManager.babystepsTodo[axis] += distance;
|
584
|
584
|
#endif
|
585
|
585
|
|
586
|
586
|
babysteps_done += distance;
|