git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1691 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-02-28 13:26:02 +00:00
parent ce0845ef81
commit 1aad9e4509
2 changed files with 6 additions and 6 deletions

View File

@ -236,13 +236,13 @@ Platform : MSP430
OS Setup : Full kernel
Compiler : msp430-gcc (GCC) 3.2.3
Options : -O2 -DCH_OPTIMIZE_SPEED=TRUE
Kernel Size = 5636
Kernel Size = 5632
Platform : MSP430
OS Setup : Full kernel
Compiler : msp430-gcc (GCC) 3.2.3
Options : -O2 -DCH_OPTIMIZE_SPEED=FALSE
Kernel Size = 5120
Kernel Size = 5116
Platform : MSP430
OS Setup : Minimal kernel
@ -254,13 +254,13 @@ Platform : MSP430
OS Setup : Full kernel
Compiler : msp430-gcc (GCC) 3.2.3
Options : -Os -DCH_OPTIMIZE_SPEED=TRUE
Kernel Size = 5572
Kernel Size = 5568
Platform : MSP430
OS Setup : Full kernel
Compiler : msp430-gcc (GCC) 3.2.3
Options : -Os -DCH_OPTIMIZE_SPEED=FALSE
Kernel Size = 5076
Kernel Size = 5072
Platform : MSP430
OS Setup : Minimal kernel

View File

@ -218,8 +218,8 @@ msg_t chCondWaitTimeoutS(CondVar *cp, systime_t time) {
mp = chMtxUnlockS();
ctp->p_u.wtobjp = cp;
prio_insert(ctp, &cp->c_queue);
chSchGoSleepTimeoutS(THD_STATE_WTCOND, time);
msg = ctp->p_u.rdymsg;
msg = chSchGoSleepTimeoutS(THD_STATE_WTCOND, time);
// msg = ctp->p_u.rdymsg;
chMtxLockS(mp);
return msg;
}