Browse Source

Fix G29 not deploying in some instances

pull/1/head
Scott Lahteine 10 years ago
parent
commit
f7c4e7e19f
  1. 4
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/language_ru.h

4
Marlin/Marlin_main.cpp

@ -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;

2
Marlin/language_ru.h

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

Loading…
Cancel
Save