aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-06-30 06:28:55 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-06-30 06:28:55 +0000
commite8fb1f777f38f1dc5368c03ff2990bd3404cfc18 (patch)
treeb69432fa0328fc867b52defc4dccce4c26147ec0
parent5852906e41f54f7bef9ad06faa247bfa2d6d2060 (diff)
downloadChibiOS-e8fb1f777f38f1dc5368c03ff2990bd3404cfc18.tar.gz
ChibiOS-e8fb1f777f38f1dc5368c03ff2990bd3404cfc18.tar.bz2
ChibiOS-e8fb1f777f38f1dc5368c03ff2990bd3404cfc18.zip
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
-rw-r--r--os/rt/src/chschd.c4
-rw-r--r--readme.txt1
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).