From b9b3cd4000be6697f8e4577066e9307277a0bec8 Mon Sep 17 00:00:00 2001 From: JulianHolzwarth Date: Fri, 31 May 2019 17:11:52 +0200 Subject: [PATCH] Revert "REMOVE ME" this reverts commit d3511829ac6c9638e7f34a998596af3a87d2c40a --- core/mutex.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/mutex.c b/core/mutex.c index 4b99209f14ac7..fb6b3423f5ea4 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -29,14 +29,11 @@ #include "irq.h" #include "list.h" -#include "xtimer.h" - #define ENABLE_DEBUG (0) #include "debug.h" int _mutex_lock(mutex_t *mutex, volatile int *blocking) { - xtimer_spin(xtimer_ticks_from_usec(XTIMER_BACKOFF * 4)); /* longer than timeout of xtimer_mutex_lock_timeout in test */ unsigned irqstate = irq_disable(); DEBUG("PID[%" PRIkernel_pid "]: Mutex in use.\n", sched_active_pid);