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:
Giovanni Di Sirio 2020-06-19 07:43:35 +00:00
parent c4234d5087
commit af10a3f58a
2 changed files with 3 additions and 1 deletions

View File

@ -582,7 +582,7 @@ void chSchDoReschedule(void) {
#if CH_CFG_TIME_QUANTUM > 0
/* If CH_CFG_TIME_QUANTUM is enabled then there are two different scenarios
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
with same priority level, however, it acquires a new time quantum.*/

View File

@ -74,6 +74,8 @@
*****************************************************************************
*** 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 GCC6 problem breaks Cortex-M0 port (bug #985).
- FIX: Fixed a wrong management of the SPI TX buffer in the ADUCM port