diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-06-30 06:28:55 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-06-30 06:28:55 +0000 |
commit | e8fb1f777f38f1dc5368c03ff2990bd3404cfc18 (patch) | |
tree | b69432fa0328fc867b52defc4dccce4c26147ec0 /os/rt/src | |
parent | 5852906e41f54f7bef9ad06faa247bfa2d6d2060 (diff) | |
download | ChibiOS-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
Diffstat (limited to 'os/rt/src')
-rw-r--r-- | os/rt/src/chschd.c | 4 |
1 files changed, 2 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) */
/** @} */
|