diff options
Diffstat (limited to 'os/rt/src/chthreads.c')
-rw-r--r-- | os/rt/src/chthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c index 13e4c0346..051cf0cc3 100644 --- a/os/rt/src/chthreads.c +++ b/os/rt/src/chthreads.c @@ -181,10 +181,10 @@ thread_t *chThdCreateI(void *wsp, size_t size, thread_t *tp = wsp;
chDbgCheckClassI();
-
chDbgCheck((wsp != NULL) && (size >= THD_WA_SIZE(0)) &&
(prio <= HIGHPRIO) && (pf != NULL));
- SETUP_CONTEXT(wsp, size, pf, arg);
+
+ PORT_SETUP_CONTEXT(wsp, size, pf, arg);
return _thread_init(tp, prio);
}
|