Doing a G30 is equivalent to homing the Z-axis

Now sets the axisIsHomed flag for the Z-axis when a G30 command has been
executed successfully, because that puts the Z-axis at a known height.
This commit is contained in:
David Crocker 2014-02-05 17:50:38 +00:00
parent 41daff3d26
commit 0ef9d66ff1

View file

@ -741,6 +741,7 @@ bool GCodes::DoSingleZProbe()
{
cannedCycleMoveCount = 0;
probeCount = 0;
axisIsHomed[2] = true; // we have homed the Z axis
return true;
}
return false;