aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-01 07:57:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-01 07:57:54 +0000
commit74bc33cf80b7b17470c215c158c01c2f2f137c14 (patch)
treeb8d6fbf674ea12703b1420942af2fe24546b5b03
parentdadac256c45b2f9c565992e482a62ba1f27207be (diff)
downloadChibiOS-74bc33cf80b7b17470c215c158c01c2f2f137c14.tar.gz
ChibiOS-74bc33cf80b7b17470c215c158c01c2f2f137c14.tar.bz2
ChibiOS-74bc33cf80b7b17470c215c158c01c2f2f137c14.zip
Fixed bug bug #414.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5779 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/various/lwip_bindings/lwipthread.c4
-rw-r--r--os/various/lwip_bindings/lwipthread.h2
-rw-r--r--readme.txt1
3 files changed, 5 insertions, 2 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index 7fc258b23..38ef8cfd2 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -59,6 +59,8 @@
#include "hal.h"
#include "evtimer.h"
+#include "lwipthread.h"
+
#include "lwip/opt.h"
#include "lwip/def.h"
@@ -71,8 +73,6 @@
#include "netif/etharp.h"
#include "netif/ppp_oe.h"
-#include "lwipthread.h"
-
#define PERIODIC_TIMER_ID 1
#define FRAME_RECEIVED_ID 2
diff --git a/os/various/lwip_bindings/lwipthread.h b/os/various/lwip_bindings/lwipthread.h
index a4392f8d2..fe4de2870 100644
--- a/os/various/lwip_bindings/lwipthread.h
+++ b/os/various/lwip_bindings/lwipthread.h
@@ -24,6 +24,8 @@
#ifndef _LWIPTHREAD_H_
#define _LWIPTHREAD_H_
+#include <lwip/opt.h>
+
/** @brief MAC thread priority.*/
#ifndef LWIP_THREAD_PRIORITY
#define LWIP_THREAD_PRIORITY LOWPRIO
diff --git a/readme.txt b/readme.txt
index c641c4b11..eba129fc2 100644
--- a/readme.txt
+++ b/readme.txt
@@ -89,6 +89,7 @@
*****************************************************************************
*** 2.5.2 ***
+- FIX: Fixed lwipthread.h should explicitly include lwip/opts.h (bug #414).
- FIX: Fixed STM32_PLLI2SCLKOUT miscalculated (bug #413)(backported to 2.4.4).
- FIX: Fixed wrong RTC vector name in STM32F1/F4/L1 EXT drivers (bug #412).
- FIX: Fixed wrong STM32 USBv1 driver behavior (bug #410).