|
@@ -1589,7 +1589,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
|
1589
|
1589
|
#endif
|
1590
|
1590
|
#define X_MOVE_TEST ( S_(1) != S_(2) || (S_(1) > 0 && D_(1) X_CMP D_(2)) )
|
1591
|
1591
|
#else
|
1592
|
|
- #define X_MOVE_TEST !!current_block->steps[X_AXIS]
|
|
1592
|
+ #define X_MOVE_TEST !!current_block->steps[A_AXIS]
|
1593
|
1593
|
#endif
|
1594
|
1594
|
|
1595
|
1595
|
#if CORE_IS_XY || CORE_IS_YZ
|
|
@@ -1607,7 +1607,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
|
1607
|
1607
|
#endif
|
1608
|
1608
|
#define Y_MOVE_TEST ( S_(1) != S_(2) || (S_(1) > 0 && D_(1) Y_CMP D_(2)) )
|
1609
|
1609
|
#else
|
1610
|
|
- #define Y_MOVE_TEST !!current_block->steps[Y_AXIS]
|
|
1610
|
+ #define Y_MOVE_TEST !!current_block->steps[B_AXIS]
|
1611
|
1611
|
#endif
|
1612
|
1612
|
|
1613
|
1613
|
#if CORE_IS_XZ || CORE_IS_YZ
|
|
@@ -1625,16 +1625,16 @@ uint32_t Stepper::stepper_block_phase_isr() {
|
1625
|
1625
|
#endif
|
1626
|
1626
|
#define Z_MOVE_TEST ( S_(1) != S_(2) || (S_(1) > 0 && D_(1) Z_CMP D_(2)) )
|
1627
|
1627
|
#else
|
1628
|
|
- #define Z_MOVE_TEST !!current_block->steps[Z_AXIS]
|
|
1628
|
+ #define Z_MOVE_TEST !!current_block->steps[C_AXIS]
|
1629
|
1629
|
#endif
|
1630
|
1630
|
|
1631
|
|
- SET_BIT(axis_did_move, X_AXIS, X_MOVE_TEST);
|
1632
|
|
- SET_BIT(axis_did_move, Y_AXIS, Y_MOVE_TEST);
|
1633
|
|
- SET_BIT(axis_did_move, Z_AXIS, Z_MOVE_TEST);
|
1634
|
|
- SET_BIT(axis_did_move, E_AXIS, !!current_block->steps[E_AXIS]);
|
1635
|
|
- SET_BIT(axis_did_move, X_HEAD, !!current_block->steps[X_HEAD]);
|
1636
|
|
- SET_BIT(axis_did_move, Y_HEAD, !!current_block->steps[Y_HEAD]);
|
1637
|
|
- SET_BIT(axis_did_move, Z_HEAD, !!current_block->steps[Z_HEAD]);
|
|
1631
|
+ SET_BIT_TO(axis_did_move, X_AXIS, X_MOVE_TEST);
|
|
1632
|
+ SET_BIT_TO(axis_did_move, Y_AXIS, Y_MOVE_TEST);
|
|
1633
|
+ SET_BIT_TO(axis_did_move, Z_AXIS, Z_MOVE_TEST);
|
|
1634
|
+ //SET_BIT_TO(axis_did_move, E_AXIS, !!current_block->steps[E_AXIS]);
|
|
1635
|
+ //SET_BIT_TO(axis_did_move, X_HEAD, !!current_block->steps[A_AXIS]);
|
|
1636
|
+ //SET_BIT_TO(axis_did_move, Y_HEAD, !!current_block->steps[B_AXIS]);
|
|
1637
|
+ //SET_BIT_TO(axis_did_move, Z_HEAD, !!current_block->steps[C_AXIS]);
|
1638
|
1638
|
|
1639
|
1639
|
// Initialize the trapezoid generator from the current block.
|
1640
|
1640
|
#if ENABLED(LIN_ADVANCE)
|