aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-27 07:47:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-27 07:47:27 +0000
commitfefa1a82a0d255e13ec269af06c0a2c9ba402737 (patch)
treea7ddc2eefc15683c1d751c904ed3e94c9e46d6ff
parent830278dcd222180f3a4e6c5f288ea9f05afc52ae (diff)
downloadChibiOS-fefa1a82a0d255e13ec269af06c0a2c9ba402737.tar.gz
ChibiOS-fefa1a82a0d255e13ec269af06c0a2c9ba402737.tar.bz2
ChibiOS-fefa1a82a0d255e13ec269af06c0a2c9ba402737.zip
Fixed bug #728.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9165 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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.