diff --git a/tests/msg_send_receive/Makefile b/tests/msg_send_receive/Makefile index 4e742a0d890d136de6e173b6686966ab7b053b40..93b32e37b92c93bffc0f697fa45db099089cbb00 100644 --- a/tests/msg_send_receive/Makefile +++ b/tests/msg_send_receive/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = msg_send_receive -USEMODULE += xtimer - include ../Makefile.tests_common include $(RIOTBASE)/Makefile.include diff --git a/tests/msg_send_receive/main.c b/tests/msg_send_receive/main.c index 0c4be39ea295b63363c47bee39d2320f20fd5a78..81be76a7de7d1db23003b6165d9fb56200467ba2 100644 --- a/tests/msg_send_receive/main.c +++ b/tests/msg_send_receive/main.c @@ -24,7 +24,6 @@ #include "cpu_conf.h" #include "thread.h" -#include "xtimer.h" #define THREAD1_STACKSIZE (THREAD_STACKSIZE_MAIN) #define THREAD2_STACKSIZE (THREAD_STACKSIZE_MAIN) @@ -58,7 +57,6 @@ static void *thread1(void *args) success = 0; break; } - xtimer_usleep(200); } if (success) { @@ -96,9 +94,9 @@ static void *thread2(void *args) int main(void) { - thread2_pid = thread_create(thread2_stack, THREAD2_STACKSIZE, THREAD_PRIORITY_MAIN - 1, + thread2_pid = thread_create(thread2_stack, THREAD2_STACKSIZE, THREAD_PRIORITY_MAIN - 2, 0, thread2, NULL, "thread2"); - thread1_pid = thread_create(thread1_stack, THREAD1_STACKSIZE, THREAD_PRIORITY_MAIN - 2, + thread1_pid = thread_create(thread1_stack, THREAD1_STACKSIZE, THREAD_PRIORITY_MAIN - 1, 0, thread1, NULL, "thread1"); return 0; }