From 2a6989ecd559f70ceb08aa471e0399c52747ddc8 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 26 Jan 2021 16:09:23 +0100 Subject: [PATCH] Remove TMC2130 special-cases With the new STEPPER_MINIMUM_DELAY being automatically removed for TMC2130 we no longer need to add specialized #ifdefs for DEDGE in babystep. --- Firmware/stepper.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Firmware/stepper.cpp b/Firmware/stepper.cpp index e06e0602f..e74d7154e 100644 --- a/Firmware/stepper.cpp +++ b/Firmware/stepper.cpp @@ -1449,12 +1449,10 @@ void babystep(const uint8_t axis,const bool direction) #ifdef DEBUG_XSTEP_DUP_PIN STEP_NC_HI(X_DUP_AXIS); #endif -#ifndef TMC2130_DEDGE_STEPPING STEPPER_MINIMUM_DELAY; STEP_NC_LO(X_AXIS); #ifdef DEBUG_XSTEP_DUP_PIN STEP_NC_LO(X_DUP_AXIS); -#endif #endif //get old pin state back. @@ -1479,12 +1477,10 @@ void babystep(const uint8_t axis,const bool direction) #ifdef DEBUG_YSTEP_DUP_PIN STEP_NC_HI(Y_DUP_AXIS); #endif -#ifndef TMC2130_DEDGE_STEPPING STEPPER_MINIMUM_DELAY; STEP_NC_LO(Y_AXIS); #ifdef DEBUG_YSTEP_DUP_PIN STEP_NC_LO(Y_DUP_AXIS); -#endif #endif //get old pin state back. @@ -1512,12 +1508,10 @@ void babystep(const uint8_t axis,const bool direction) #ifdef Z_DUAL_STEPPER_DRIVERS STEP_NC_HI(Z2_AXIS); #endif -#ifndef TMC2130_DEDGE_STEPPING STEPPER_MINIMUM_DELAY; STEP_NC_LO(Z_AXIS); #ifdef Z_DUAL_STEPPER_DRIVERS STEP_NC_LO(Z2_AXIS); -#endif #endif //get old pin state back.