diff options
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/DriveMovement.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Movement/DriveMovement.h b/src/Movement/DriveMovement.h index 473091d3..18e2eb38 100644 --- a/src/Movement/DriveMovement.h +++ b/src/Movement/DriveMovement.h @@ -165,11 +165,11 @@ inline bool DriveMovement::CalcNextStepTime(const DDA &dda) noexcept { if (stepsTillRecalc != 0) { - --stepsTillRecalc; // we are doing double/quad/octal stepping + --stepsTillRecalc; // we are doing double/quad/octal stepping #if EVEN_STEPS nextStepTime += stepInterval; #endif -#if SAME70 +#ifdef DUET3_MB6HC // we need to increase the minimum step pulse length to be long enough for the TMC5160 asm volatile("nop"); asm volatile("nop"); asm volatile("nop"); @@ -183,7 +183,7 @@ inline bool DriveMovement::CalcNextStepTime(const DDA &dda) noexcept } state = DMState::idle; -#if SAME70 +#ifdef DUET3_MB6HC // we need to increase the minimum step pulse length to be long enough for the TMC5160 asm volatile("nop"); asm volatile("nop"); asm volatile("nop"); |