aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-09-10 07:49:39 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-09-10 07:49:39 +0000
commit8a9e2826eeff5d92db01066c451ffd96a4d0afe1 (patch)
treea0ec198076ad0d87a13a6b5f9bd0a0dbc2c3ad28 /os/various
parentcba3f7f0f912da2eaa4f1b286e6361b47e583f4f (diff)
downloadChibiOS-8a9e2826eeff5d92db01066c451ffd96a4d0afe1.tar.gz
ChibiOS-8a9e2826eeff5d92db01066c451ffd96a4d0afe1.tar.bz2
ChibiOS-8a9e2826eeff5d92db01066c451ffd96a4d0afe1.zip
Fixed bug #642.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8293 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
-rw-r--r--os/various/lwip_bindings/lwipthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index 6a918afa0..a94ca33ce 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -326,7 +326,7 @@ static THD_FUNCTION(lwip_thread, p) {
void lwipInit(const lwipthread_opts_t *opts) {
/* Creating the lwIP thread (it changes priority internally).*/
- chThdCreateStatic(wa_lwip_thread, LWIP_THREAD_STACK_SIZE,
+ chThdCreateStatic(wa_lwip_thread, sizeof (wa_lwip_thread),
chThdGetPriorityX() - 1, lwip_thread, (void *)opts);
/* Waiting for the lwIP thread complete initialization. Note,