diff --git a/scripts/rtos_interaction/rtos_message_testing.c b/scripts/rtos_interaction/rtos_message_testing.c index 6fcc51f..dcb51af 100644 --- a/scripts/rtos_interaction/rtos_message_testing.c +++ b/scripts/rtos_interaction/rtos_message_testing.c @@ -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"); }