We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1616d commit 973a8cfCopy full SHA for 973a8cf
src/mcc_generated_files/boot/boot_process.c
@@ -442,7 +442,7 @@ static enum BOOT_COMMAND_RESULT CalculateChecksum(void)
442
443
memcpy(&response, commandArray, sizeof(struct CMD_STRUCT_0));
444
445
- if ( IsLegalRange(pCommand->address, pCommand->address+pCommand->dataLength-1))
+ if ( IsLegalRange(pCommand->address, pCommand->address+pCommand->dataLength / 2))
446
{
447
for (count = 0; count < pCommand->dataLength; count += 4)
448
0 commit comments