Fixed bug #1105.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13721 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
c4234d5087
commit
af10a3f58a
|
@ -582,7 +582,7 @@ void chSchDoReschedule(void) {
|
||||||
#if CH_CFG_TIME_QUANTUM > 0
|
#if CH_CFG_TIME_QUANTUM > 0
|
||||||
/* If CH_CFG_TIME_QUANTUM is enabled then there are two different scenarios
|
/* If CH_CFG_TIME_QUANTUM is enabled then there are two different scenarios
|
||||||
to handle on preemption: time quantum elapsed or not.*/
|
to handle on preemption: time quantum elapsed or not.*/
|
||||||
if (currp->ticks == (tslices_t)0) {
|
if (otp->ticks == (tslices_t)0) {
|
||||||
|
|
||||||
/* The thread consumed its time quantum so it is enqueued behind threads
|
/* The thread consumed its time quantum so it is enqueued behind threads
|
||||||
with same priority level, however, it acquires a new time quantum.*/
|
with same priority level, however, it acquires a new time quantum.*/
|
||||||
|
|
|
@ -74,6 +74,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 20.3.2 ***
|
*** 20.3.2 ***
|
||||||
|
- FIX: Schedule anomaly when CH_CFG_TIME_QUANTUM is greater than zero
|
||||||
|
(bug #1105).
|
||||||
- FIX: Fixed Virtual Timers corner case (bug #1104).
|
- FIX: Fixed Virtual Timers corner case (bug #1104).
|
||||||
- FIX: Fixed GCC6 problem breaks Cortex-M0 port (bug #985).
|
- FIX: Fixed GCC6 problem breaks Cortex-M0 port (bug #985).
|
||||||
- FIX: Fixed a wrong management of the SPI TX buffer in the ADUCM port
|
- FIX: Fixed a wrong management of the SPI TX buffer in the ADUCM port
|
||||||
|
|
Loading…
Reference in New Issue