diff options
-rw-r--r-- | src/Endstops/ZProbe.cpp | 6 | ||||
-rw-r--r-- | src/Endstops/ZProbe.h | 2 | ||||
-rw-r--r-- | src/Version.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/Endstops/ZProbe.cpp b/src/Endstops/ZProbe.cpp index bd9eaf79..cc126400 100644 --- a/src/Endstops/ZProbe.cpp +++ b/src/Endstops/ZProbe.cpp @@ -403,4 +403,10 @@ GCodeResult ZProbe::SendProgram(const uint32_t zProbeProgram[], size_t len, cons return GCodeResult::error; } +void ZProbe::SetLastStoppedHeight(float h) noexcept +{ + lastStopHeight = h; + reprap.SensorsUpdated(); +} + // End diff --git a/src/Endstops/ZProbe.h b/src/Endstops/ZProbe.h index 844975cf..0e583f70 100644 --- a/src/Endstops/ZProbe.h +++ b/src/Endstops/ZProbe.h @@ -59,7 +59,7 @@ public: void SetTriggerHeight(float height) noexcept { triggerHeight = height; } void SetSaveToConfigOverride() noexcept { misc.parts.saveToConfigOverride = true; } void SetDeployedByUser(bool b) noexcept { isDeployedByUser = b; } - void SetLastStoppedHeight(float h) noexcept { lastStopHeight = h; } + void SetLastStoppedHeight(float h) noexcept; #if HAS_MASS_STORAGE bool WriteParameters(FileStore *f, unsigned int probeNumber) const noexcept; diff --git a/src/Version.h b/src/Version.h index f478a7ff..ae897a40 100644 --- a/src/Version.h +++ b/src/Version.h @@ -19,7 +19,7 @@ #endif #ifndef DATE -# define DATE "2020-09-13b2" +# define DATE "2020-09-13b3" #endif #define AUTHORS "reprappro, dc42, chrishamm, t3p3, dnewman, printm3d" |