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:
-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;