diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-28 18:19:57 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-28 18:19:57 +0300 |
commit | aeb483f9e02f03ae67c93f99603aea733de2cf08 (patch) | |
tree | f87b59dee58fba7fc9c6c315db5592d99458e6c3 /src/Movement | |
parent | fbb12ebbf523b4599a997f1cef359e2a069d9e13 (diff) |
Improved M569 T parameter support on MB6XD
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"); |