From 737837b1be461e29cd21db35d82f0281190507b9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 29 Sep 2012 08:39:11 +0000 Subject: [PATCH] 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 --- os/various/lwip_bindings/arch/sys_arch.c | 9 ++++++--- readme.txt | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/os/various/lwip_bindings/arch/sys_arch.c b/os/various/lwip_bindings/arch/sys_arch.c index 0b22c4c81..7a33e30a0 100644 --- a/os/various/lwip_bindings/arch/sys_arch.c +++ b/os/various/lwip_bindings/arch/sys_arch.c @@ -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); diff --git a/readme.txt b/readme.txt index 3c2e633b7..7e72c75f5 100644 --- a/readme.txt +++ b/readme.txt @@ -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).