mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fixed Wformat warnings
This commit is contained in:
parent
f4a994ac89
commit
2ed6e5cc42
@ -37,11 +37,11 @@ void thread1(void)
|
|||||||
msg_t msg, reply;
|
msg_t msg, reply;
|
||||||
|
|
||||||
msg_receive(&msg);
|
msg_receive(&msg);
|
||||||
printf("T1 recv: %d (i=%d)\n", msg.content.value, i);
|
printf("T1 recv: %" PRIu32 "(i=%d)\n", msg.content.value, i);
|
||||||
|
|
||||||
msg.content.value = i;
|
msg.content.value = i;
|
||||||
msg_send_receive(&msg, &reply, p2);
|
msg_send_receive(&msg, &reply, p2);
|
||||||
printf("T1 got reply: %d (i=%d)\n", reply.content.value, i);
|
printf("T1 got reply: %" PRIu32 " (i=%d)\n", reply.content.value, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
puts("THREAD 1 end\n");
|
puts("THREAD 1 end\n");
|
||||||
@ -55,7 +55,7 @@ void thread2(void)
|
|||||||
msg_t msg, reply;
|
msg_t msg, reply;
|
||||||
|
|
||||||
msg_receive(&msg);
|
msg_receive(&msg);
|
||||||
printf("T2 got %d (i=%d)\n", msg.content.value, i);
|
printf("T2 got %" PRIu32 " (i=%d)\n", msg.content.value, i);
|
||||||
reply.content.value = msg.content.value;
|
reply.content.value = msg.content.value;
|
||||||
msg_reply(&msg, &reply);
|
msg_reply(&msg, &reply);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user