aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src')
-rw-r--r--os/kernel/src/chschd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/kernel/src/chschd.c b/os/kernel/src/chschd.c
index 1f7e27c93..08ecf46a0 100644
--- a/os/kernel/src/chschd.c
+++ b/os/kernel/src/chschd.c
@@ -210,8 +210,7 @@ void chSchDoRescheduleI(void) {
* the ready list then make the higher priority thread running.
*/
void chSchRescheduleS(void) {
- /* First thread in the runnable queue has higher priority than the running
- * thread?.*/
+
if (chSchMustRescheduleS())
chSchDoRescheduleI();
}