From bea7e14791a832cbdf1f16f81a3e750b1ae36fdc Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 4 Nov 2020 23:00:51 +0100 Subject: [PATCH] tests/thread_priority_inversion: convert to xtimer_msleep() --- tests/thread_priority_inversion/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/thread_priority_inversion/main.c b/tests/thread_priority_inversion/main.c index 12e1e83e7b..98c1821eb0 100644 --- a/tests/thread_priority_inversion/main.c +++ b/tests/thread_priority_inversion/main.c @@ -70,7 +70,7 @@ void *t_high_handler(void *arg) (void) arg; /* starting working loop after 500 ms */ - xtimer_usleep(500U * US_PER_MS); + xtimer_msleep(500U); while (1) { puts("t_high: allocating resource..."); mutex_lock(&res_mtx);