@ -413,7 +413,8 @@ ISR(TIMER1_COMPA_vect) {
# else
# else
// Head direction in -X axis for CoreXY bots.
// Head direction in -X axis for CoreXY bots.
// If DeltaX == -DeltaY, the movement is only in Y axis
// If DeltaX == -DeltaY, the movement is only in Y axis
if ( TEST ( out_bits , X_HEAD ) & & ( current_block - > steps_x ! = current_block - > steps_y | | ( TEST ( out_bits , X_AXIS ) = = TEST ( out_bits , Y_AXIS ) ) ) )
if ( current_block - > steps_x ! = current_block - > steps_y | | ( TEST ( out_bits , X_AXIS ) = = TEST ( out_bits , Y_AXIS ) ) )
if ( TEST ( out_bits , X_HEAD ) )
# endif
# endif
{ // -direction
{ // -direction
# ifdef DUAL_X_CARRIAGE
# ifdef DUAL_X_CARRIAGE
@ -437,13 +438,13 @@ ISR(TIMER1_COMPA_vect) {
# endif
# endif
}
}
}
}
# ifndef COREXY
# ifndef COREXY
if ( TEST ( out_bits , Y_AXIS ) ) // -direction
if ( TEST ( out_bits , Y_AXIS ) ) // -direction
# else
# else
// Head direction in -Y axis for CoreXY bots.
// Head direction in -Y axis for CoreXY bots.
// If DeltaX == DeltaY, the movement is only in X axis
// If DeltaX == DeltaY, the movement is only in X axis
if ( TEST ( out_bits , Y_HEAD ) & & ( current_block - > steps_x ! = current_block - > steps_y | | ( TEST ( out_bits , X_AXIS ) ! = TEST ( out_bits , Y_AXIS ) ) ) )
if ( current_block - > steps_x ! = current_block - > steps_y | | ( TEST ( out_bits , X_AXIS ) ! = TEST ( out_bits , Y_AXIS ) ) )
if ( TEST ( out_bits , Y_HEAD ) )
# endif
# endif
{ // -direction
{ // -direction
# if defined(Y_MIN_PIN) && Y_MIN_PIN >= 0
# if defined(Y_MIN_PIN) && Y_MIN_PIN >= 0