Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-11-07 11:13:04 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-11-07 11:13:04 +0300
commitfd67416a7ec8a13a5531aabf4c7a2ff052929d6b (patch)
tree9fa63c51c46d7a44d56858ec2c6acc9a1d578248 /src/GCodes
parenteebd32c8f7e40aaaef055e86eccbe166c741a70c (diff)
Bug fix for tool changing
Diffstat (limited to 'src/GCodes')
-rw-r--r--src/GCodes/GCodes4.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/GCodes/GCodes4.cpp b/src/GCodes/GCodes4.cpp
index 652c1e64..427a6e07 100644
--- a/src/GCodes/GCodes4.cpp
+++ b/src/GCodes/GCodes4.cpp
@@ -366,11 +366,6 @@ void GCodes::RunStateMachine(GCodeBuffer& gb, const StringRef& reply) noexcept
UpdateCurrentUserPosition(gb); // get the actual position of the new tool
gb.AdvanceState();
- if (machineType != MachineType::fff || toolChangeParam == 0)
- {
- gb.AdvanceState(); // skip moving tool to the new height if not a 3D printer or Tn P0 was given
- }
-
if (reprap.GetCurrentTool() != nullptr && (toolChangeParam & TPostBit) != 0) // 2020-04-29: run tpost file even if not all axes have been homed
{
String<StringLength20> scratchString;