add sys_now() function porting

This commit is contained in:
Bernard Xiong 2013-06-30 22:37:05 +08:00
parent e156a8d62b
commit 1172b47d1e
1 changed files with 5 additions and 0 deletions

View File

@ -552,6 +552,11 @@ u32_t sys_jiffies(void)
return rt_tick_get();
}
u32_t sys_now(void)
{
return rt_tick_get() * (1000 / RT_TICK_PER_SECOND);
}
#ifdef RT_LWIP_PPP
u32_t sio_read(sio_fd_t fd, u8_t *buf, u32_t size)
{