提交 1172b47d 编写于 作者: B Bernard Xiong

add sys_now() function porting

上级 e156a8d6
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册