diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-09-10 12:34:02 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-09-10 12:34:02 +0300 |
commit | a2746501c0fc9cc1270e8f8fd19f714ebb6da0ad (patch) | |
tree | 44628e453599b15c39b94b0c2571c63e9aa66598 /src/Endstops/LocalZProbe.cpp | |
parent | e79147c236dbe206f381522a83cf168e4ab08b5e (diff) |
Abandon Z probing if the probe is remote and cannot be contacted
Diffstat (limited to 'src/Endstops/LocalZProbe.cpp')
-rw-r--r-- | src/Endstops/LocalZProbe.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Endstops/LocalZProbe.cpp b/src/Endstops/LocalZProbe.cpp index a37d6867..57228a7f 100644 --- a/src/Endstops/LocalZProbe.cpp +++ b/src/Endstops/LocalZProbe.cpp @@ -109,7 +109,7 @@ uint16_t LocalZProbe::GetRawReading() const noexcept } } -void LocalZProbe::SetProbing(bool isProbing) noexcept +bool LocalZProbe::SetProbing(bool isProbing) noexcept { // For Z probe types other than 1/2/3 and bltouch we set the modulation pin high at the start of a probing move and low at the end // Don't do this for bltouch because on the Maestro, the MOD pin is normally used as the servo control output @@ -117,6 +117,7 @@ void LocalZProbe::SetProbing(bool isProbing) noexcept { modulationPort.WriteDigital(isProbing); } + return true; } GCodeResult LocalZProbe::AppendPinNames(const StringRef& str) noexcept |