diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-16 16:12:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-16 16:12:33 +0000 |
commit | 2e4ba09bb54f415e7f8fd66f4ccddbf421612820 (patch) | |
tree | bcb3dfba371a3c6a3957285650ae694ea057307c /os/kernel/src/chcond.c | |
parent | 0d96f5c78e54d267ef1ca230fe20af1ca090e1d6 (diff) | |
download | ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.tar.gz ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.tar.bz2 ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5860 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chcond.c')
-rw-r--r-- | os/kernel/src/chcond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chcond.c b/os/kernel/src/chcond.c index c217bf6fd..0e404808f 100644 --- a/os/kernel/src/chcond.c +++ b/os/kernel/src/chcond.c @@ -68,7 +68,7 @@ void chCondSignal(CondVar *cp) { chDbgCheck(cp != NULL, "chCondSignal");
chSysLock();
- if (notempty(&cp->c_queue))
+ if (queue_notempty(&cp->c_queue))
chSchWakeupS(fifo_remove(&cp->c_queue), RDY_OK);
chSysUnlock();
}
@@ -89,7 +89,7 @@ void chCondSignalI(CondVar *cp) { chDbgCheckClassI();
chDbgCheck(cp != NULL, "chCondSignalI");
- if (notempty(&cp->c_queue))
+ if (queue_notempty(&cp->c_queue))
chSchReadyI(fifo_remove(&cp->c_queue))->p_u.rdymsg = RDY_OK;
}
|