fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define

This commit is contained in:
Simon Goldschmidt
2011-10-13 19:29:48 +02:00
parent dc34636598
commit cf1be4ae2d
3 changed files with 4 additions and 5 deletions

View File

@@ -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