[kernel] Fix comment error for rt_mutex_detach().

This commit is contained in:
杨澄
2021-06-23 21:23:07 +08:00
committed by GitHub
parent 95cea205b1
commit ec3c1d4d00
+1 -1
View File
@@ -588,7 +588,7 @@ rt_err_t rt_mutex_detach(rt_mutex_t mutex)
/* wakeup all suspended threads */
rt_ipc_list_resume_all(&(mutex->parent.suspend_thread));
/* detach semaphore object */
/* detach mutex object */
rt_object_detach(&(mutex->parent.parent));
return RT_EOK;