Skip to content

Commit

Permalink
don't substract message header from message data
Browse files Browse the repository at this point in the history
  • Loading branch information
ea committed May 30, 2021
1 parent b690cdb commit e1ed89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rtos_interaction/rtos_message_testing.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main(int argc, char **argv){
p = p+ (int)msg_handle * 0xc;

// it seems like all valid messages should start with 0xdaca
dump((char*)(p),message->numBytes-sizeof(struct messageStruct)); printf("\n\n");
dump((char*)(p),message->numBytes); printf("\n\n");

}

Expand Down

0 comments on commit e1ed89d

Please sign in to comment.