aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chcond.c4
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 */