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
path: root/src/CAN
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-09-22 15:42:35 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-09-22 15:42:35 +0300
commit9dfa321bda5aa5ea322d413cb9d7a8c2fb00e9e3 (patch)
treeee360bbd334d5ad28caca94815312d375f115c1b /src/CAN
parent4305d369a74e74df115a1895c8955f05eb0b00fa (diff)
Merged main and expansion board TMC22xx ands TMC51xx drivers
Also implemented M569.2 on expansion boards Also release laser port when switching away from laser mode
Diffstat (limited to 'src/CAN')
-rw-r--r--src/CAN/CommandProcessor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CAN/CommandProcessor.cpp b/src/CAN/CommandProcessor.cpp
index 39577969..33da9542 100644
--- a/src/CAN/CommandProcessor.cpp
+++ b/src/CAN/CommandProcessor.cpp
@@ -347,7 +347,7 @@ static GCodeResult EutGetInfo(const CanMessageReturnInfo& msg, const StringRef&
const size_t driver = msg.type - (CanMessageReturnInfo::typeDiagnosticsPart0 + 1);
reply.lcatf("Driver %u: position %" PRIi32 ", %.1f steps/mm"
#if HAS_SMART_DRIVERS
- ", "
+ ","
#endif
, driver, reprap.GetMove().GetEndPoint(driver), (double)reprap.GetPlatform().DriveStepsPerUnit(driver));
#if HAS_SMART_DRIVERS
@@ -464,6 +464,11 @@ void CommandProcessor::ProcessReceivedMessage(CanMessageBuffer *buf) noexcept
rslt = reprap.GetPlatform().EutProcessM569(buf->msg.generic, replyRef);
break;
+ case CanMessageType::m569p2:
+ requestId = buf->msg.generic.requestId;
+ rslt = reprap.GetPlatform().EutProcessM569Point2(buf->msg.generic, replyRef);
+ break;
+
case CanMessageType::m569p7:
requestId = buf->msg.generic.requestId;
rslt = reprap.GetPlatform().EutProcessM569Point7(buf->msg.generic, replyRef);