|
@ -260,10 +260,10 @@ |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
case Z_AXIS: |
|
|
case Z_AXIS: |
|
|
TERN_(Z_HAS_STEALTCHOP, if (index < 2) TMC_SET_PWMTHRS(Z,Z)); |
|
|
TERN_(Z_HAS_STEALTHCHOP, if (index < 2) TMC_SET_PWMTHRS(Z,Z)); |
|
|
TERN_(Z2_HAS_STEALTCHOP, if (index == 0 || index == 2) TMC_SET_PWMTHRS(Z,Z2)); |
|
|
TERN_(Z2_HAS_STEALTHCHOP, if (index == 0 || index == 2) TMC_SET_PWMTHRS(Z,Z2)); |
|
|
TERN_(Z3_HAS_STEALTCHOP, if (index == 0 || index == 3) TMC_SET_PWMTHRS(Z,Z3)); |
|
|
TERN_(Z3_HAS_STEALTHCHOP, if (index == 0 || index == 3) TMC_SET_PWMTHRS(Z,Z3)); |
|
|
TERN_(Z4_HAS_STEALTCHOP, if (index == 0 || index == 4) TMC_SET_PWMTHRS(Z,Z4)); |
|
|
TERN_(Z4_HAS_STEALTHCHOP, if (index == 0 || index == 4) TMC_SET_PWMTHRS(Z,Z4)); |
|
|
break; |
|
|
break; |
|
|
#if E_STEPPERS |
|
|
#if E_STEPPERS |
|
|
case E_AXIS: { |
|
|
case E_AXIS: { |
|
|