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 committed by Angus Gratton
parent 4b39a0e6ca
commit 0734fa4166

View file

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