mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 00:27:09 +08:00
fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define
This commit is contained in:
@@ -426,7 +426,7 @@ sys_check_timeouts(void)
|
||||
|
||||
now = sys_now();
|
||||
/* this cares for wraparounds */
|
||||
diff = LWIP_U32_DIFF(now, timeouts_last_time);
|
||||
diff = now - timeouts_last_time;
|
||||
do
|
||||
{
|
||||
#if PBUF_POOL_FREE_OOSEQ
|
||||
|
||||
Reference in New Issue
Block a user