correct timebase in sys_arch.c

sys_now() now returns ms.
This commit is contained in:
Raphael Luckom 2016-04-27 23:57:51 -04:00
parent 2badeed523
commit a57bd5d6f0

View file

@ -479,7 +479,7 @@ void sys_init(void)
u32_t sys_now(void) u32_t sys_now(void)
{ {
return xTaskGetTickCount(); return xTaskGetTickCount() * portTICK_RATE_MS;
} }
/*---------------------------------------------------------------------------* /*---------------------------------------------------------------------------*