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-12-28 14:23:52 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-12-28 14:23:52 +0300
commit44f3b93ddec110ecde6d5b5f8c32cdd8f4cfea22 (patch)
tree82eb659348214ef8228526d45e54d3016bf51b9b /src/Endstops/EndstopsManager.cpp
parentf6b6be2b85b4cf83a366ffe56de89a1cbdc2a2de (diff)
Partially implemented M954
Diffstat (limited to 'src/Endstops/EndstopsManager.cpp')
-rw-r--r--src/Endstops/EndstopsManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/EndstopsManager.cpp b/src/Endstops/EndstopsManager.cpp
index 4639f681..e8104eef 100644
--- a/src/Endstops/EndstopsManager.cpp
+++ b/src/Endstops/EndstopsManager.cpp
@@ -25,7 +25,7 @@
#include <Heating/Sensors/TemperatureSensor.h>
#if SUPPORT_CAN_EXPANSION
-# include "CanMessageBuffer.h"
+# include <CanMessageBuffer.h>
#endif
ReadWriteLock EndstopsManager::endstopsLock;
@@ -680,7 +680,7 @@ GCodeResult EndstopsManager::HandleM558(GCodeBuffer& gb, const StringRef &reply)
gb.Seen('C');
gb.GetReducedString(pinNames.GetRef());
const CanAddress boardAddress = IoPort::RemoveBoardAddress(pinNames.GetRef());
- if (boardAddress != CanId::MasterAddress)
+ if (boardAddress != CanInterface::GetCanAddress())
{
RemoteZProbe *newRemoteProbe = new RemoteZProbe(probeNumber, boardAddress, (ZProbeType)probeType);
const GCodeResult rslt = newRemoteProbe->Create(pinNames.GetRef(), reply);