diff options
-rw-r--r-- | os/various/lwip_bindings/lwipthread.c | 4 | ||||
-rw-r--r-- | os/various/lwip_bindings/lwipthread.h | 2 | ||||
-rw-r--r-- | readme.txt | 1 |
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).
|