git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14136 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-04-04 17:23:25 +00:00
parent 4c61895918
commit c97d08b670
1 changed files with 4 additions and 0 deletions

View File

@ -394,7 +394,11 @@ void chSchObjectInit(os_instance_t *oip,
* @iclass
*/
thread_t *chSchReadyI(thread_t *tp) {
#if CH_CFG_SMP_MODE == FALSE
os_instance_t *oip = currcore;
#else
os_instance_t *oip = tp->owner;
#endif
chDbgCheckClassI();
chDbgCheck(tp != NULL);