diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-01-08 21:51:35 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-01-08 21:51:35 +0300 |
commit | ade692419913c4777aa14f89b10e14c7ff298648 (patch) | |
tree | b9c317fa80e11263f25ee1db07f8a285ea0b9987 /src/Endstops/ZProbe.h | |
parent | ba5341edce9c26062c6aa61c83a975eb4a2dc6ef (diff) |
Refactored object model framework to support virtual arrays
Diffstat (limited to 'src/Endstops/ZProbe.h')
-rw-r--r-- | src/Endstops/ZProbe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/ZProbe.h b/src/Endstops/ZProbe.h index 2dc76f90..77c1ea08 100644 --- a/src/Endstops/ZProbe.h +++ b/src/Endstops/ZProbe.h @@ -20,7 +20,7 @@ public: virtual uint16_t GetRawReading() const noexcept = 0; virtual void SetProbing(bool isProbing) const noexcept = 0; virtual GCodeResult AppendPinNames(const StringRef& str) const noexcept = 0; - virtual GCodeResult Configure(GCodeBuffer& gb, const StringRef& reply, bool& seen) THROWS_PARSE_ERROR; // 'seen' is an in-out parameter + virtual GCodeResult Configure(GCodeBuffer& gb, const StringRef& reply, bool& seen) THROWS_GCODE_EXCEPTION; // 'seen' is an in-out parameter virtual GCodeResult SendProgram(const uint32_t zProbeProgram[], size_t len, const StringRef& reply) noexcept; EndStopHit Stopped() const noexcept override; @@ -49,7 +49,7 @@ public: int GetReading() const noexcept; int GetSecondaryValues(int& v1, int& v2) noexcept; - GCodeResult HandleG31(GCodeBuffer& gb, const StringRef& reply) THROWS_PARSE_ERROR; + GCodeResult HandleG31(GCodeBuffer& gb, const StringRef& reply) THROWS_GCODE_EXCEPTION; void SetTriggerHeight(float height) noexcept { triggerHeight = height; } void SetSaveToConfigOverride() noexcept { misc.parts.saveToConfigOverride = true; } |