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
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-02-25 17:53:57 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-02-25 17:53:57 +0300
commitbf921500a6138a57a3a54e1dfdae9f97924bb165 (patch)
treef35a45935d6780a02f0a43719e40270b2a9827ed /src
parenta26404916623bbf94398db9929e220431b2bbf72 (diff)
Correct a line of code
Diffstat (limited to 'src')
-rw-r--r--src/CAN/ExpansionManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CAN/ExpansionManager.cpp b/src/CAN/ExpansionManager.cpp
index 7e78157f..9d5a0a28 100644
--- a/src/CAN/ExpansionManager.cpp
+++ b/src/CAN/ExpansionManager.cpp
@@ -197,7 +197,7 @@ void ExpansionManager::ProcessBoardStatusReport(const CanMessageBuffer *buf) noe
UpdateBoardState(address, BoardState::running);
}
- const CanMessageBoardStatus msg = buf->msg.boardStatus;
+ const CanMessageBoardStatus& msg = buf->msg.boardStatus;
// We must process the data in the correct order, to ensure that we pick up the right values
size_t index = 0;