Hi everyone,
It seems I've found in the sys_now() function of the lwIP library:
u32_t sys_now(void)
{
return xTaskGetTickCount();
}
It returns the number of ticks from startup, not the number of milliseconds!
It should be:
return xTaskGetTickCount() * portTICK_PERIOD_MS;
Many thanks
Biafra