[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;