Fix G29 not deploying in some instances

This commit is contained in:
Scott Lahteine 2015-04-07 15:38:29 -07:00
parent c379f17117
commit f7c4e7e19f
2 changed files with 3 additions and 3 deletions

View File

@ -2140,7 +2140,7 @@ inline void gcode_G28() {
* *
* Global Parameters: * Global Parameters:
* *
* E/e By default G29 will engages the probe, test the bed, then disengage. * E/e By default G29 will engage the probe, test the bed, then disengage.
* Include "E" to engage/disengage the probe for each sample. * Include "E" to engage/disengage the probe for each sample.
* There's no extra effect if you have a fixed probe. * There's no extra effect if you have a fixed probe.
* Usage: "G29 E" or "G29 e" * Usage: "G29 E" or "G29 e"
@ -2318,7 +2318,7 @@ inline void gcode_G28() {
ProbeAction act; ProbeAction act;
if (deploy_probe_for_each_reading) // G29 E - Stow between probes if (deploy_probe_for_each_reading) // G29 E - Stow between probes
act = ProbeDeployAndStow; act = ProbeDeployAndStow;
else if (yCount == 0 && xCount == 0) else if (yCount == 0 && xCount == xStart)
act = ProbeDeploy; act = ProbeDeploy;
else if (yCount == auto_bed_leveling_grid_points - 1 && xCount == xStop - xInc) else if (yCount == auto_bed_leveling_grid_points - 1 && xCount == xStop - xInc)
act = ProbeStow; act = ProbeStow;

View File

@ -1,4 +1,4 @@
/** /**
* Russian * Russian
* *
* LCD Menu Messages * LCD Menu Messages