diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-02-07 13:27:28 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-02-07 13:27:28 +0300 |
commit | 09167097d1d887d0b3b033595020a0ed8603c55d (patch) | |
tree | d52f54304852fc9903effe41a9784c2011e0aa0b /src/CAN | |
parent | 8def4ee59cce61e38c0a0c5e73d19c13fd3b3d60 (diff) |
Added option to return board unique ID in CanMessageReturnInfo
Diffstat (limited to 'src/CAN')
-rw-r--r-- | src/CAN/CommandProcessor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CAN/CommandProcessor.cpp b/src/CAN/CommandProcessor.cpp index 21ea0f1a..4ffb4b38 100644 --- a/src/CAN/CommandProcessor.cpp +++ b/src/CAN/CommandProcessor.cpp @@ -320,6 +320,10 @@ static GCodeResult EutGetInfo(const CanMessageReturnInfo& msg, const StringRef& reply.cat('}'); break; + case CanMessageReturnInfo::typeBoardUniqueId: + reply.copy(reprap.GetPlatform().GetUniqueIdString()); + break; + case CanMessageReturnInfo::typeDiagnosticsPart0: extra = LastDiagnosticsPart; reply.lcatf("%s (%s%s)", VERSION, DATE, TIME_SUFFIX); |