File tree 1 file changed +3
-3
lines changed
Marlin/src/module/stepper
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ void reset_trinamic_drivers();
248
248
static constexpr chopper_timing_t chopper_timing_I = CHOPPER_TIMING_I ;
249
249
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
250
250
#define I_ENABLE_INIT () NOOP
251
- #define I_ENABLE_WRITE (STATE ) stepperI.toff((STATE)==I_ENABLE_ON ? chopper_timing .toff : 0)
251
+ #define I_ENABLE_WRITE (STATE ) stepperI.toff((STATE)==I_ENABLE_ON ? chopper_timing_I .toff : 0)
252
252
#define I_ENABLE_READ () stepperI.isEnabled()
253
253
#endif
254
254
#if AXIS_HAS_DEDGE (I )
@@ -262,7 +262,7 @@ void reset_trinamic_drivers();
262
262
static constexpr chopper_timing_t chopper_timing_J = CHOPPER_TIMING_J ;
263
263
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
264
264
#define J_ENABLE_INIT () NOOP
265
- #define J_ENABLE_WRITE (STATE ) stepperJ.toff((STATE)==J_ENABLE_ON ? chopper_timing .toff : 0)
265
+ #define J_ENABLE_WRITE (STATE ) stepperJ.toff((STATE)==J_ENABLE_ON ? chopper_timing_J .toff : 0)
266
266
#define J_ENABLE_READ () stepperJ.isEnabled()
267
267
#endif
268
268
#if AXIS_HAS_DEDGE (J )
@@ -276,7 +276,7 @@ void reset_trinamic_drivers();
276
276
static constexpr chopper_timing_t chopper_timing_K = CHOPPER_TIMING_K ;
277
277
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
278
278
#define K_ENABLE_INIT () NOOP
279
- #define K_ENABLE_WRITE (STATE ) stepperK.toff((STATE)==K_ENABLE_ON ? chopper_timing .toff : 0)
279
+ #define K_ENABLE_WRITE (STATE ) stepperK.toff((STATE)==K_ENABLE_ON ? chopper_timing_K .toff : 0)
280
280
#define K_ENABLE_READ () stepperK.isEnabled()
281
281
#endif
282
282
#if AXIS_HAS_DEDGE (K )
You can’t perform that action at this time.
0 commit comments