diff --git a/core/mutex.c b/core/mutex.c index b337a85fbe..42e356196a 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -107,6 +107,7 @@ void mutex_wake_waiters(struct mutex_t *mutex, int flags) { /* queue is empty */ if (!next) { mutex->val = 0; + if ( ! (flags & MUTEX_INISR)) eINT(); return; }