diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 07:24:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-20 07:24:12 +0000 |
commit | 390ed322cb8f40cb9250021cde5f48acb928d291 (patch) | |
tree | 1dc550fc749284146c42417ff1d5d40ac1823d5f /os/kernel/src/chqueues.c | |
parent | 25ddb1c801f06a3be7171e20dcfd46d11a75f112 (diff) | |
download | ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.gz ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.tar.bz2 ChibiOS-390ed322cb8f40cb9250021cde5f48acb928d291.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6001 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chqueues.c')
-rw-r--r-- | os/kernel/src/chqueues.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chqueues.c b/os/kernel/src/chqueues.c index a4b0aa416..7115d77b6 100644 --- a/os/kernel/src/chqueues.c +++ b/os/kernel/src/chqueues.c @@ -224,7 +224,7 @@ size_t chIQReadTimeout(InputQueue *iqp, uint8_t *bp, chDbgCheck(n > 0, "chIQReadTimeout");
chSysLock();
- while (TRUE) {
+ while (true) {
if (nfy)
nfy(iqp);
@@ -404,7 +404,7 @@ size_t chOQWriteTimeout(OutputQueue *oqp, const uint8_t *bp, chDbgCheck(n > 0, "chOQWriteTimeout");
chSysLock();
- while (TRUE) {
+ while (true) {
while (chOQIsFullI(oqp)) {
if (qwait((GenericQueue *)oqp, time) != Q_OK) {
chSysUnlock();
|