Commit 5b2a7bf0 authored by 李俭双's avatar 李俭双

🐞 fix:45391 Type or number of arguments doesn't match previous use of the function.

parent 96c0f7f6
......@@ -257,7 +257,7 @@ Protocol_uint32_t Protocol_Send(const Protocol_uint16_t cmdID, const Protocol_ui
}
// 校验码 Checksum
checksum = getCheckSum(dataBuf + 2, frameLen - 2);
checksum = getCheckSum(&(dataBuf + 2), frameLen - 2);
dataBuf [ frameLen ] = (checksum >> 8) & 0x00FF;
frameLen++;
dataBuf [ frameLen ] = checksum & 0x00FF;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment