From 8a9e2826eeff5d92db01066c451ffd96a4d0afe1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 10 Sep 2015 07:49:39 +0000 Subject: [PATCH] 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 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, diff --git a/readme.txt b/readme.txt index 278d848af..f9413199f 100644 --- a/readme.txt +++ b/readme.txt @@ -114,6 +114,8 @@ - HAL: Introduced support for TIM21 and TIM22 in STM32 ST driver. - HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support for STM32F030xC, STM32F070x6, STM32F070xB devices. +- VAR: Fixed incorrect working area size in LwIP creation in demos (bug #642) + (backported to 3.0.2 and 2.6.10). - HAL: Fixed error in hal_lld_f100.h checks (bug #641)(backported to 3.0.2 and 2.6.10). - HAL: Fixed volatile variable issue in I/O queues, both RT and HAL (bug #640)