|
@@ -181,7 +181,7 @@ void reset_trinamic_drivers();
|
181
|
181
|
|
182
|
182
|
// E2 Stepper
|
183
|
183
|
#if AXIS_IS_TMC(E2)
|
184
|
|
- extern TMC_CLASS_E(1) stepperE2;
|
|
184
|
+ extern TMC_CLASS_E(2) stepperE2;
|
185
|
185
|
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E2)
|
186
|
186
|
#define E2_ENABLE_INIT NOOP
|
187
|
187
|
#define E2_ENABLE_WRITE(STATE) stepperE2.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
|
|
@@ -194,7 +194,7 @@ void reset_trinamic_drivers();
|
194
|
194
|
|
195
|
195
|
// E3 Stepper
|
196
|
196
|
#if AXIS_IS_TMC(E3)
|
197
|
|
- extern TMC_CLASS_E(1) stepperE3;
|
|
197
|
+ extern TMC_CLASS_E(3) stepperE3;
|
198
|
198
|
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E3)
|
199
|
199
|
#define E3_ENABLE_INIT NOOP
|
200
|
200
|
#define E3_ENABLE_WRITE(STATE) stepperE3.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
|
|
@@ -207,7 +207,7 @@ void reset_trinamic_drivers();
|
207
|
207
|
|
208
|
208
|
// E4 Stepper
|
209
|
209
|
#if AXIS_IS_TMC(E4)
|
210
|
|
- extern TMC_CLASS_E(1) stepperE4;
|
|
210
|
+ extern TMC_CLASS_E(4) stepperE4;
|
211
|
211
|
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E4)
|
212
|
212
|
#define E4_ENABLE_INIT NOOP
|
213
|
213
|
#define E4_ENABLE_WRITE(STATE) stepperE4.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
|
|
@@ -220,7 +220,7 @@ void reset_trinamic_drivers();
|
220
|
220
|
|
221
|
221
|
// E5 Stepper
|
222
|
222
|
#if AXIS_IS_TMC(E5)
|
223
|
|
- extern TMC_CLASS_E(1) stepperE5;
|
|
223
|
+ extern TMC_CLASS_E(5) stepperE5;
|
224
|
224
|
#if ENABLED(SOFTWARE_DRIVER_ENABLE) && AXIS_IS_TMC(E5)
|
225
|
225
|
#define E5_ENABLE_INIT NOOP
|
226
|
226
|
#define E5_ENABLE_WRITE(STATE) stepperE5.toff((STATE)==E_ENABLE_ON ? chopper_timing.toff : 0)
|