diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-26 09:50:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-26 09:50:26 +0000 |
commit | fa22551743ab5c9829f911a9c69cfcd7f3b2c5cb (patch) | |
tree | e6ca8b43c7cd8bb3ed96d30ae718b62d3dc5bb14 | |
parent | b28f013119a70b16c9b2e37c863ba97147fbe494 (diff) | |
download | ChibiOS-fa22551743ab5c9829f911a9c69cfcd7f3b2c5cb.tar.gz ChibiOS-fa22551743ab5c9829f911a9c69cfcd7f3b2c5cb.tar.bz2 ChibiOS-fa22551743ab5c9829f911a9c69cfcd7f3b2c5cb.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@362 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | src/chcond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chcond.c b/src/chcond.c index cdfeb5d28..668333b10 100644 --- a/src/chcond.c +++ b/src/chcond.c @@ -111,8 +111,8 @@ msg_t chCondWait(CondVar *cp, Mutex *mp) { 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 */
chMtxLockS(mp);
/* wait on the condition variable */
|