diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-25 17:53:57 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-25 17:53:57 +0300 |
commit | bf921500a6138a57a3a54e1dfdae9f97924bb165 (patch) | |
tree | f35a45935d6780a02f0a43719e40270b2a9827ed /src | |
parent | a26404916623bbf94398db9929e220431b2bbf72 (diff) |
Correct a line of code
Diffstat (limited to 'src')
-rw-r--r-- | src/CAN/ExpansionManager.cpp | 2 |
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; |