aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--os/various/lwip_bindings/lwipthread.c2
-rw-r--r--readme.txt2
2 files changed, 3 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,
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)