From 74bc33cf80b7b17470c215c158c01c2f2f137c14 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Jun 2013 07:57:54 +0000 Subject: [PATCH] Fixed bug bug #414. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5779 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/lwip_bindings/lwipthread.c | 4 ++-- os/various/lwip_bindings/lwipthread.h | 2 ++ 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 + /** @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).