git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4362 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ead754141b
commit
f197ecf1cd
|
@ -303,7 +303,7 @@ void chSemSignalI(Semaphore *sp) {
|
||||||
"inconsistent semaphore");
|
"inconsistent semaphore");
|
||||||
|
|
||||||
if (++sp->s_cnt <= 0) {
|
if (++sp->s_cnt <= 0) {
|
||||||
/* note, it is done this way in order to allow a tail call on
|
/* Note, it is done this way in order to allow a tail call on
|
||||||
chSchReadyI().*/
|
chSchReadyI().*/
|
||||||
Thread *tp = fifo_remove(&sp->s_queue);
|
Thread *tp = fifo_remove(&sp->s_queue);
|
||||||
tp->p_u.rdymsg = RDY_OK;
|
tp->p_u.rdymsg = RDY_OK;
|
||||||
|
|
Loading…
Reference in New Issue