aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/include/chschd.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h
index e91d9a460..4f94f406b 100644
--- a/os/rt/include/chschd.h
+++ b/os/rt/include/chschd.h
@@ -768,7 +768,7 @@ static inline void chSchPreemption(void) {
}
}
#else /* CH_CFG_TIME_QUANTUM == 0 */
- if (p1 >= p2) {
+ if (p1 > p2) {
chSchDoRescheduleAhead();
}
#endif /* CH_CFG_TIME_QUANTUM == 0 */
diff --git a/readme.txt b/readme.txt
index 048499a4e..95f28c7fd 100644
--- a/readme.txt
+++ b/readme.txt
@@ -79,6 +79,8 @@
*****************************************************************************
*** Next ***
+- RT: Fixed bug in chSchPreemption() function (bug #728)(backported to 2.6.10,
+ 3.0.6 and 16.1.5).
- HAL: All high level file names have been renamed and prefixed with "hal_"
in order to minimize the risk of name conflicts when integrating
external libraries.