From 0ef9d66ff14628f27255edb9d21dfea6cedc3fba Mon Sep 17 00:00:00 2001 From: David Crocker Date: Wed, 5 Feb 2014 17:50:38 +0000 Subject: [PATCH] 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. --- GCodes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GCodes.cpp b/GCodes.cpp index 9615c65..1a472dd 100644 --- a/GCodes.cpp +++ b/GCodes.cpp @@ -741,6 +741,7 @@ bool GCodes::DoSingleZProbe() { cannedCycleMoveCount = 0; probeCount = 0; + axisIsHomed[2] = true; // we have homed the Z axis return true; } return false;