correct timebase in sys_arch.c
sys_now() now returns ms.
This commit is contained in:
parent
4b39a0e6ca
commit
0734fa4166
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ void sys_init(void)
|
|||
|
||||
u32_t sys_now(void)
|
||||
{
|
||||
return xTaskGetTickCount();
|
||||
return xTaskGetTickCount() * portTICK_RATE_MS;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
|
|
Loading…
Reference in a new issue