From 547b7b02464967520f24a791a2a96e2a99aabf86 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Mon, 4 Sep 2017 14:47:11 +0800 Subject: [PATCH] match sys tick with lwip_send_timeout --- components/lwip/port/freertos/sys_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lwip/port/freertos/sys_arch.c b/components/lwip/port/freertos/sys_arch.c index 63d0ccece..fe8c2a463 100755 --- a/components/lwip/port/freertos/sys_arch.c +++ b/components/lwip/port/freertos/sys_arch.c @@ -446,7 +446,7 @@ sys_jiffies(void) u32_t sys_now(void) { - return xTaskGetTickCount(); + return (xTaskGetTickCount()*portTICK_PERIOD_MS); } /*