From 0f9925cfc85934c9311fa2daff11ef414801cbf7 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Thu, 16 Nov 2017 11:58:16 +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 b03fd6df5..68a12c4bf 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); } /*