git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@362 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b28f013119
commit
fa22551743
|
@ -111,8 +111,8 @@ msg_t chCondWait(CondVar *cp, Mutex *mp) {
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
msg_t chCondWaitS(CondVar *cp, Mutex *mp)
|
msg_t chCondWaitS(CondVar *cp, Mutex *mp) {
|
||||||
{
|
|
||||||
/* lock the mutex that protects access to the condition variable */
|
/* lock the mutex that protects access to the condition variable */
|
||||||
chMtxLockS(mp);
|
chMtxLockS(mp);
|
||||||
/* wait on the condition variable */
|
/* wait on the condition variable */
|
||||||
|
|
Loading…
Reference in New Issue