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:
Diffstat (limited to 'src/GCodes/GCodes3.cpp')
-rw-r--r--src/GCodes/GCodes3.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/GCodes/GCodes3.cpp b/src/GCodes/GCodes3.cpp
index 9e1895bb..f5d3acdb 100644
--- a/src/GCodes/GCodes3.cpp
+++ b/src/GCodes/GCodes3.cpp
@@ -998,7 +998,9 @@ bool GCodes::SetupM585ProbingMove(GCodeBuffer& gb) noexcept
moveState.checkEndstops = true;
moveState.canPauseAfter = false;
zProbeTriggered = false;
- NewMoveAvailable(1);
+ moveState.linearAxesMentioned = reprap.GetPlatform().IsAxisLinear(m585Settings.axisNumber);
+ moveState.rotationalAxesMentioned = reprap.GetPlatform().IsAxisRotational(m585Settings.axisNumber);
+ NewSingleSegmentMoveAvailable();
return true;
}
@@ -1053,7 +1055,9 @@ bool GCodes::SetupM675ProbingMove(GCodeBuffer& gb, bool towardsMin) noexcept
moveState.checkEndstops = true;
moveState.canPauseAfter = false;
zProbeTriggered = false;
- NewMoveAvailable(1); // kick off the move
+ moveState.linearAxesMentioned = reprap.GetPlatform().IsAxisLinear(m675Settings.axisNumber);
+ moveState.rotationalAxesMentioned = reprap.GetPlatform().IsAxisRotational(m675Settings.axisNumber);
+ NewSingleSegmentMoveAvailable(); // kick off the move
return true;
}
@@ -1064,7 +1068,9 @@ void GCodes::SetupM675BackoffMove(GCodeBuffer& gb, float position) noexcept
moveState.coords[m675Settings.axisNumber] = position;
moveState.feedRate = m675Settings.feedRate;
moveState.canPauseAfter = false;
- NewMoveAvailable(1);
+ moveState.linearAxesMentioned = reprap.GetPlatform().IsAxisLinear(m675Settings.axisNumber);
+ moveState.rotationalAxesMentioned = reprap.GetPlatform().IsAxisRotational(m675Settings.axisNumber);
+ NewSingleSegmentMoveAvailable();
}
// Deal with a M905