lwip timers

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
lemmy
Posts: 13
Joined: Tue Oct 06, 2015 9:02 am
Been thanked: 2 times

lwip timers

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: lwip timers

Post by Giovanni »

Hi,

Good point, I will look into it tomorrow.

Giovanni
Post Reply