From e8fb1f777f38f1dc5368c03ff2990bd3404cfc18 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 30 Jun 2019 06:28:55 +0000 Subject: Fixed bug #1034. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12851 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/rt/src/chschd.c | 4 ++-- readme.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/os/rt/src/chschd.c b/os/rt/src/chschd.c index c5f3fa859..de6d1520a 100644 --- a/os/rt/src/chschd.c +++ b/os/rt/src/chschd.c @@ -430,7 +430,7 @@ void chSchWakeupS(thread_t *ntp, msg_t msg) { (void) chSchReadyI(ntp); } else { - otp = chSchReadyI(otp); + otp = chSchReadyAheadI(otp); /* Handling idle-leave hook.*/ if (otp->prio == IDLEPRIO) { @@ -605,6 +605,6 @@ void chSchDoReschedule(void) { /* Swap operation as tail call.*/ chSysSwitch(currp, otp); } -#endif /*!defined(CH_SCH_DO_RESCHEDULE_HOOKED) */ +#endif /* !defined(CH_SCH_DO_RESCHEDULE_HOOKED) */ /** @} */ diff --git a/readme.txt b/readme.txt index b1ffc7e16..84428e5cf 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,7 @@ generate a library with a pre-configured RT. It also includes an "header generator" able to generate an unified "ch.h" with all options resolved. +- FIX: Fixed reduced time slices in RT (bug #1034). - FIX: Fixed long intervals fail when interval type is larger than time type (bug #1031). - FIX: Fixed Round Robin check missing when in tick-less mode (bug #1030). -- cgit v1.2.3