@@ -250,7 +250,7 @@ void reset_trinamic_drivers();
250
250
static constexpr chopper_timing_t chopper_timing_I = CHOPPER_TIMING_I ;
251
251
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
252
252
#define I_ENABLE_INIT () NOOP
253
- #define I_ENABLE_WRITE (STATE ) stepperI.toff((STATE)==I_ENABLE_ON ? chopper_timing .toff : 0)
253
+ #define I_ENABLE_WRITE (STATE ) stepperI.toff((STATE)==I_ENABLE_ON ? chopper_timing_I .toff : 0)
254
254
#define I_ENABLE_READ () stepperI.isEnabled()
255
255
#endif
256
256
#if AXIS_HAS_SQUARE_WAVE (I )
@@ -264,7 +264,7 @@ void reset_trinamic_drivers();
264
264
static constexpr chopper_timing_t chopper_timing_J = CHOPPER_TIMING_J ;
265
265
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
266
266
#define J_ENABLE_INIT () NOOP
267
- #define J_ENABLE_WRITE (STATE ) stepperJ.toff((STATE)==J_ENABLE_ON ? chopper_timing .toff : 0)
267
+ #define J_ENABLE_WRITE (STATE ) stepperJ.toff((STATE)==J_ENABLE_ON ? chopper_timing_J .toff : 0)
268
268
#define J_ENABLE_READ () stepperJ.isEnabled()
269
269
#endif
270
270
#if AXIS_HAS_SQUARE_WAVE (J )
@@ -278,7 +278,7 @@ void reset_trinamic_drivers();
278
278
static constexpr chopper_timing_t chopper_timing_K = CHOPPER_TIMING_K ;
279
279
#if ENABLED (SOFTWARE_DRIVER_ENABLE )
280
280
#define K_ENABLE_INIT () NOOP
281
- #define K_ENABLE_WRITE (STATE ) stepperK.toff((STATE)==K_ENABLE_ON ? chopper_timing .toff : 0)
281
+ #define K_ENABLE_WRITE (STATE ) stepperK.toff((STATE)==K_ENABLE_ON ? chopper_timing_K .toff : 0)
282
282
#define K_ENABLE_READ () stepperK.isEnabled()
283
283
#endif
284
284
#if AXIS_HAS_SQUARE_WAVE (K )
0 commit comments