mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1990 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
3f81701c83
commit
d9578ad0db
|
@ -215,7 +215,7 @@ void chOQInit(OutputQueue *oqp, uint8_t *bp, size_t size, qnotify_t onfy) {
|
||||||
oqp->q_buffer = oqp->q_rdptr = oqp->q_wrptr = bp;
|
oqp->q_buffer = oqp->q_rdptr = oqp->q_wrptr = bp;
|
||||||
oqp->q_top = bp + size;
|
oqp->q_top = bp + size;
|
||||||
oqp->q_notify = onfy;
|
oqp->q_notify = onfy;
|
||||||
chSemInit(&oqp->q_sem, size);
|
chSemInit(&oqp->q_sem, (cnt_t)size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -63,8 +63,8 @@
|
||||||
- OPT: Small size optimization in the semaphores subsystem.
|
- OPT: Small size optimization in the semaphores subsystem.
|
||||||
- OPT: Improvements in the STM8 port, the code is now smaller and generally
|
- OPT: Improvements in the STM8 port, the code is now smaller and generally
|
||||||
faster, also saved few bytes of RAM.
|
faster, also saved few bytes of RAM.
|
||||||
- Added explicit casts in chevents.h and chqueues.h in order to silence
|
- Added explicit casts in chevents.h, chqueues.h, chqueues.c in order to
|
||||||
some warnings on a specific compiler.
|
silence some warnings on a specific compiler.
|
||||||
|
|
||||||
*** 1.5.8 ***
|
*** 1.5.8 ***
|
||||||
- FIX: Fixed missing files from ST library zip file (bug 3006629).
|
- FIX: Fixed missing files from ST library zip file (bug 3006629).
|
||||||
|
|
Loading…
Reference in New Issue