diff options
Diffstat (limited to 'remote-processor')
-rw-r--r-- | remote-processor/Message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-processor/Message.cpp b/remote-processor/Message.cpp index 5679501..4454b1c 100644 --- a/remote-processor/Message.cpp +++ b/remote-processor/Message.cpp @@ -236,7 +236,7 @@ bool CMessage::serialize(CSocket* pSocket, bool bOut) // Checksum uint8_t CMessage::computeChecksum() const { - uint8_t uiChecksum = (_ucMsgId & 0xFF) + (_ucMsgId >> 8); + uint8_t uiChecksum = _ucMsgId; uint32_t uiIndex; |