Page 1 of 1

lwip timers

Posted: Fri Jan 22, 2016 10:13 pm
by lemmy
I wonder if there is an issue with the function sys_arch_mbox_fetch() in the file os\various\lwip_bindings\arch\sys_arch.c

LWIP sets its DHCP timers in milliseconds but sys_arch_mbox() uses system ticks.

Should the calls to osalOsGetSystemTimeX() within sys_arch_mbox() be converted with ST2MS()?

Thank you

Re: lwip timers

Posted: Fri Jan 22, 2016 10:16 pm
by Giovanni
Hi,

Good point, I will look into it tomorrow.

Giovanni