Fixed bug 3571053.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4727 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
9d1013bf31
commit
dfe1ebcefa
|
@ -194,9 +194,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) {
|
||||
|
||||
size_t wsz;
|
||||
void *wsp;
|
||||
|
||||
(void)name;
|
||||
size_t wsz = THD_WA_SIZE(stacksize);
|
||||
void *wsp = chCoreAlloc(wsz);
|
||||
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);
|
||||
|
|
|
@ -83,6 +83,8 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.5.1 ***
|
||||
- FIX: Fixed misplaced declarations in lwip_bindings sys_arch.c (bug 3571053)
|
||||
(backported to 2.4.3).
|
||||
- FIX: Fixed double definition of sd1fel and sd2fel breaks Posix simulator
|
||||
(bug 3570532).
|
||||
- FIX: Fixed Ethernet PHY power down scheme prevents using LAN8720A (bug
|
||||
|
|
Loading…
Reference in New Issue