From 8a9e2826eeff5d92db01066c451ffd96a4d0afe1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 10 Sep 2015 07:49:39 +0000 Subject: Fixed bug #642. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8293 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/lwip_bindings/lwipthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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, -- cgit v1.2.3