diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-06-07 11:26:18 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-06-07 11:26:18 +0300 |
commit | 8d12f40337f749450479c9a2079b694441f1dddb (patch) | |
tree | 90de94d78e95f0d57e76d91523e08783a5ab61e6 | |
parent | 01dd888364dbbbda1ef070da77fb4ef0c3d4a82d (diff) |
Removed redundant null movemnent commands
-rw-r--r-- | src/Movement/DDA.cpp | 11 | ||||
-rw-r--r-- | src/Version.h | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp index 0f358034..5870f59c 100644 --- a/src/Movement/DDA.cpp +++ b/src/Movement/DDA.cpp @@ -1571,17 +1571,6 @@ void DDA::Prepare(uint8_t simMode, float extrusionPending[]) noexcept const size_t drive = additionalAxisMotorsToEnable.LowestSetBit(); additionalAxisMotorsToEnable.ClearBit(drive); platform.EnableDrivers(drive); -#if SUPPORT_CAN_EXPANSION - const AxisDriversConfig& config = platform.GetAxisDriversConfig(drive); - for (size_t i = 0; i < config.numDrivers; ++i) - { - const DriverId driver = config.driverNumbers[i]; - if (driver.IsRemote()) - { - CanMotion::AddMovement(params, driver, 0, false); - } - } -#endif } const DDAState st = prev->state; diff --git a/src/Version.h b/src/Version.h index 26ec3dda..1f9098ed 100644 --- a/src/Version.h +++ b/src/Version.h @@ -9,7 +9,7 @@ #define SRC_VERSION_H_ #ifndef VERSION -# define MAIN_VERSION "3.3RC3+4" +# define MAIN_VERSION "3.3RC3+5" # ifdef USE_CAN0 # define VERSION_SUFFIX " (CAN0)" # else |