[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] sys.c - sys_msleep
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] sys.c - sys_msleep |
Date: |
Wed, 23 Nov 2011 09:43:51 +0100 |
Martin Velek <address@hidden> wrote:
> I have defined sys_msleep() to vTaskDelay() - (1 tick == 1 ms) in
> sys_arch.h, because the default implementation is quite tricky.
> However the compiler complains about vTaskDelay() redefinition thus I
> had to modify sys.c, see below. Is this modification correct?
What you did is probably correct - not surrounding sys_msleep with the #ifndef
leads to the situation that sys.c also creates a function named 'vTaskDelay'.
No need to bother the FreeRTOS team about that, I'll change it in the lwIP
sources.
Thanks for reporting.
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de