diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-09-18 20:38:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-09-18 20:38:12 +0300 |
commit | 5a3a7ba4c1e195c56b9a7930c0a2cfc2fb206781 (patch) | |
tree | b50cda19f4fc9ce2019c6950b8622d559b77ecda /src/Endstops/EndstopsManager.cpp | |
parent | 0b77c939f61cbd63d48b04696445c3869b521da6 (diff) |
Bug fixes
Bug fix: M950 for heaters and fans didn't strip '-' or '_' from names
Added missing newline to some CAN-related error messages
Reduced the amount of information sent when configuring a remote Z probe
SoftTimer now uses a regular CallbackParameter
Diffstat (limited to 'src/Endstops/EndstopsManager.cpp')
-rw-r--r-- | src/Endstops/EndstopsManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/EndstopsManager.cpp b/src/Endstops/EndstopsManager.cpp index af047e3c..99d03aad 100644 --- a/src/Endstops/EndstopsManager.cpp +++ b/src/Endstops/EndstopsManager.cpp @@ -517,11 +517,11 @@ GCodeResult EndstopsManager::HandleM558(GCodeBuffer& gb, const StringRef &reply) #if SUPPORT_CAN_EXPANSION String<StringLength20> pinNames; gb.Seen('C'); - gb.GetQuotedString(pinNames.GetRef()); + gb.GetReducedString(pinNames.GetRef()); const CanAddress boardAddress = IoPort::RemoveBoardAddress(pinNames.GetRef()); if (boardAddress != CanId::MasterAddress) { - RemoteZProbe *newRemoteProbe = new RemoteZProbe(probeNumber, boardAddress); + RemoteZProbe *newRemoteProbe = new RemoteZProbe(probeNumber, boardAddress, (ZProbeType)probeType); const GCodeResult rslt = newRemoteProbe->Create(pinNames.GetRef(), reply); if (rslt != GCodeResult::ok) { |