[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] lwip on 8051 with Keil compiler
From: |
Adam Dunkels |
Subject: |
[lwip-users] Re: [lwip] lwip on 8051 with Keil compiler |
Date: |
Wed, 08 Jan 2003 23:19:10 -0000 |
On Monday 04 February 2002 12:06, you wrote:
> In sys.c, in the sys_timeout function the following line of code on line
> 170
>
> timeout->time = msecs;
>
> This just does not happen resulting in timeout->time always being = 0.
That definately sounds like a bug in the C compiler. Try using
timeout->time = (volatile u16_t)msecs;
instead, too see if things work better.
/adam
--
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]