From 0734fa4166b653095d6538c372bed59a3a279967 Mon Sep 17 00:00:00 2001 From: Raphael Luckom Date: Wed, 27 Apr 2016 23:57:51 -0400 Subject: [PATCH] correct timebase in sys_arch.c sys_now() now returns ms. --- lwip/sys_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwip/sys_arch.c b/lwip/sys_arch.c index ad936e4..dc26dfd 100644 --- a/lwip/sys_arch.c +++ b/lwip/sys_arch.c @@ -487,7 +487,7 @@ void sys_init(void) u32_t sys_now(void) { - return xTaskGetTickCount(); + return xTaskGetTickCount() * portTICK_RATE_MS; } /*---------------------------------------------------------------------------*