Skip to content

Commit

Permalink
Revert "REMOVE ME"
Browse files Browse the repository at this point in the history
this reverts commit d3511829ac6c9638e7f34a998596af3a87d2c40a
  • Loading branch information
JulianHolzwarth committed Jun 26, 2019
1 parent 5dc0922 commit b9b3cd4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/mutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9b3cd4

Please sign in to comment.