Fixed bug 3148525.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2555 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
f13e3253c3
commit
930b0adb22
|
@ -196,8 +196,6 @@ size_t chIQReadTimeout(InputQueue *iqp, uint8_t *bp,
|
||||||
*bp++ = *iqp->q_rdptr++;
|
*bp++ = *iqp->q_rdptr++;
|
||||||
if (iqp->q_rdptr >= iqp->q_top)
|
if (iqp->q_rdptr >= iqp->q_top)
|
||||||
iqp->q_rdptr = iqp->q_buffer;
|
iqp->q_rdptr = iqp->q_buffer;
|
||||||
if (nfy)
|
|
||||||
nfy();
|
|
||||||
chSysUnlock(); /* Gives a preemption chance in a controlled point.*/
|
chSysUnlock(); /* Gives a preemption chance in a controlled point.*/
|
||||||
r++;
|
r++;
|
||||||
if (--n == 0) {
|
if (--n == 0) {
|
||||||
|
|
|
@ -65,6 +65,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 2.1.7 ***
|
*** 2.1.7 ***
|
||||||
|
- FIX: Fixed extra notifications in input queues (bug 3148525)(backported
|
||||||
|
to 2.0.9).
|
||||||
- NEW: New ARM Cortex-Mx port for RVCT compiler (probably will not be
|
- NEW: New ARM Cortex-Mx port for RVCT compiler (probably will not be
|
||||||
included in 2.2.0, requires more testing).
|
included in 2.2.0, requires more testing).
|
||||||
- NEW: Integrated the STM32 GCC, IAR and RVCT demos in a single demo with
|
- NEW: Integrated the STM32 GCC, IAR and RVCT demos in a single demo with
|
||||||
|
|
Loading…
Reference in New Issue