git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14136 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
4c61895918
commit
c97d08b670
|
@ -394,7 +394,11 @@ void chSchObjectInit(os_instance_t *oip,
|
||||||
* @iclass
|
* @iclass
|
||||||
*/
|
*/
|
||||||
thread_t *chSchReadyI(thread_t *tp) {
|
thread_t *chSchReadyI(thread_t *tp) {
|
||||||
|
#if CH_CFG_SMP_MODE == FALSE
|
||||||
os_instance_t *oip = currcore;
|
os_instance_t *oip = currcore;
|
||||||
|
#else
|
||||||
|
os_instance_t *oip = tp->owner;
|
||||||
|
#endif
|
||||||
|
|
||||||
chDbgCheckClassI();
|
chDbgCheckClassI();
|
||||||
chDbgCheck(tp != NULL);
|
chDbgCheck(tp != NULL);
|
||||||
|
|
Loading…
Reference in New Issue