Fixed bug 3571053.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4726 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a04fcddcda
commit
737837b1be
|
@ -201,9 +201,12 @@ void sys_mbox_set_invalid(sys_mbox_t *mbox) {
|
|||
sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread,
|
||||
void *arg, int stacksize, int prio) {
|
||||
|
||||
chRegSetThreadName(name);
|
||||
size_t wsz = THD_WA_SIZE(stacksize);
|
||||
void *wsp = chCoreAlloc(wsz);
|
||||
size_t wsz;
|
||||
void *wsp;
|
||||
|
||||
(void)name;
|
||||
wsz = THD_WA_SIZE(stacksize);
|
||||
wsp = chCoreAlloc(wsz);
|
||||
if (wsp == NULL)
|
||||
return NULL;
|
||||
return (sys_thread_t)chThdCreateStatic(wsp, wsz, prio, (tfunc_t)thread, arg);
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.4.3 ***
|
||||
- FIX: Fixed misplaced declarations in lwip_bindings sys_arch.c (bug 3571053).
|
||||
- FIX: Fixed FatFS won't compile with _FS_REENTRANT enabled (bug 3570135).
|
||||
- FIX: Fixed mmc_spi.c won't compile due to misplaced declaration (bug
|
||||
3570035).
|
||||
|
|
Loading…
Reference in New Issue