diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-05-16 21:43:24 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-05-16 21:43:24 +0300 |
commit | 81cf9fc33ce31e943adcb1f7484e7cc660ac3182 (patch) | |
tree | 84e510eef28a4b64ac69a5c62a4d5423338dc1b1 /src/Endstops/ZProbe.cpp | |
parent | d1d3cee972f18da26180b78702f8d549fb15c638 (diff) |
Towards version 3.1.1
Increased network task stack by 96 bytes
Increase max GCode line length from 160 to 200 characters
Update sequence numbers when M558 used to change Z probe parameters
Diffstat (limited to 'src/Endstops/ZProbe.cpp')
-rw-r--r-- | src/Endstops/ZProbe.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Endstops/ZProbe.cpp b/src/Endstops/ZProbe.cpp index 638cfdee..1704ff36 100644 --- a/src/Endstops/ZProbe.cpp +++ b/src/Endstops/ZProbe.cpp @@ -291,6 +291,7 @@ GCodeResult ZProbe::HandleG31(GCodeBuffer& gb, const StringRef& reply) THROWS(GC if (seen) { + reprap.SensorsUpdated(); if (!reprap.GetGCodes().LockMovementAndWaitForStandstill(gb)) { return GCodeResult::notFinished; @@ -299,10 +300,6 @@ GCodeResult ZProbe::HandleG31(GCodeBuffer& gb, const StringRef& reply) THROWS(GC { misc.parts.saveToConfigOverride = true; // we are loading these parameters from config-override.g, so a subsequent M500 should save them to config-override.g } - else - { - reprap.SensorsUpdated(); - } } else { @@ -355,6 +352,7 @@ GCodeResult ZProbe::Configure(GCodeBuffer& gb, const StringRef &reply, bool& see if (seen) { + reprap.SensorsUpdated(); return GCodeResult::ok; } |