Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-01-04 21:15:22 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-01-04 21:15:22 +0300
commit5bd28a1aea25e83e6e1d7a0ca50cd000e7baf1a7 (patch)
tree059d11bfc384d80c7ff07d3457e994ac50a0c07e /src/Endstops/RemoteZProbe.cpp
parent8ded9143fa9d07dcddd525683403980c42881f1a (diff)
Conditional GCode fixes and exception specifiers
Loops are now working Added noexcept specifiers to omst of the remaining C++ source files
Diffstat (limited to 'src/Endstops/RemoteZProbe.cpp')
-rw-r--r--src/Endstops/RemoteZProbe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Endstops/RemoteZProbe.cpp b/src/Endstops/RemoteZProbe.cpp
index 2b51876a..73f32207 100644
--- a/src/Endstops/RemoteZProbe.cpp
+++ b/src/Endstops/RemoteZProbe.cpp
@@ -33,7 +33,7 @@ RemoteZProbe::~RemoteZProbe()
}
}
-GCodeResult RemoteZProbe::AppendPinNames(const StringRef& str) const
+GCodeResult RemoteZProbe::AppendPinNames(const StringRef& str) const noexcept
{
CanMessageBuffer * const buf = CanMessageBuffer::Allocate();
if (buf == nullptr)
@@ -58,7 +58,7 @@ GCodeResult RemoteZProbe::AppendPinNames(const StringRef& str) const
return rslt;
}
-void RemoteZProbe::SetProbing(bool isProbing) const
+void RemoteZProbe::SetProbing(bool isProbing) const noexcept
{
CanMessageBuffer * const buf = CanMessageBuffer::Allocate();
if (buf == nullptr)
@@ -81,7 +81,7 @@ void RemoteZProbe::SetProbing(bool isProbing) const
}
// Create a remote Z probe
-GCodeResult RemoteZProbe::Create(const StringRef& pinNames, const StringRef& reply)
+GCodeResult RemoteZProbe::Create(const StringRef& pinNames, const StringRef& reply) noexcept
{
CanMessageBuffer * const buf = CanMessageBuffer::Allocate();
if (buf == nullptr)
@@ -128,7 +128,7 @@ GCodeResult RemoteZProbe::Configure(GCodeBuffer& gb, const StringRef &reply, boo
return rslt;
}
-GCodeResult RemoteZProbe::SendProgram(const uint32_t zProbeProgram[], size_t len, const StringRef& reply)
+GCodeResult RemoteZProbe::SendProgram(const uint32_t zProbeProgram[], size_t len, const StringRef& reply) noexcept
{
//TODO
reply.copy("Programming remote Z probes not yet supported");