aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chmtx.c')
-rw-r--r--os/rt/src/chmtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/src/chmtx.c b/os/rt/src/chmtx.c
index 0eb02e2b5..001fa1dc3 100644
--- a/os/rt/src/chmtx.c
+++ b/os/rt/src/chmtx.c
@@ -315,7 +315,7 @@ mutex_t *chMtxUnlock(void) {
ump->m_owner = tp;
ump->m_next = tp->p_mtxlist;
tp->p_mtxlist = ump;
- chSchWakeupS(tp, RDY_OK);
+ chSchWakeupS(tp, MSG_OK);
}
else
ump->m_owner = NULL;